DELETE
Delete account user
Scope:
system:users.writehttps://api.holded.com/api/v2/account/users/{userId}Removes a team member from the account.
Parameters
Path parameters
userId
stringrequiredUser 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 removedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Account or user not foundapplication/json422Cannot remove the account owner or yourself429Rate limit exceededapplication/json