Skip to main content
DELETE

Delete account user

Scope:system:users.write
https://api.holded.com/api/v2/account/users/{userId}

Removes a team member from the account.

Parameters

Path parameters

userIdstringrequired

User ID (24-character hex ObjectId)

Request

python
import requests

url = "https://api.holded.com/api/v2/account/users/5f43a0d1a8a1e5001f56c456"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())

Responses

Success responses

204User removed

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Account or user not foundapplication/json
422Cannot remove the account owner or yourself
429Rate limit exceededapplication/json