Delete user

Deactivate your user account by username.

Endpoint

DELETE /api/v1/users/{username}
Self

Usage

curl \
  --request DELETE \
  --header "Authorization: Bearer $PEARING_API_TOKEN" \
  "$PEARING_API_URL/v1/users/alice"

Success

204 No Content.

Errors

  • 404 Not Found when username does not exist.

Common auth errors are documented on the API overview page.