Delete user

Deactivate a user by username (staff or self).

Endpoint

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

Usage

curl --request DELETE --header "Authorization: Bearer $GHIT_API_TOKEN" "$GHIT_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.