You can use the v3 API to delete a user from your project. This helps automate user management.
Step 1 — Find the user ID
List all users and copy the id of the account you want to remove.
GET /v3/projects/{project_id}/users
Use the first_name, last_name or email fields in the response to identify the correct account.
Step 2 — Delete the user
DELETE /v3/projects/{project_id}/users/{user_id}
curl --request DELETE "https://apihub.document360.io/v3/projects/{project_id}/users/{user_id}" \
--header "X-API-Key: YOUR_API_KEY"
A successful deletion returns 204 No Content with an empty body. The user is removed from the project. If the account does not exist, the API returns 404 Not Found.
Deleting a user is irreversible and takes effect immediately. Requires the Manage roles, accounts and groups permission. This endpoint is part of the premium API add-on — if it is not enabled for your project, the request returns 403 with the error code PREMIUM_FEATURE_NOT_IN_LICENSE.