Skip to main content
DELETE
/
team-members
/
{team_member_id}
Remove a team member
curl --request DELETE \
  --url https://{your-subdomain}.neetodesk.com/api/external/v2/team-members/{team_member_id} \
  --header 'X-Api-Key: <x-api-key>'
{
  "error": "Cannot remove the last admin of the workspace"
}
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

team_member_id
string
required

ID of the team member to remove.

Example:

"aaaabbbb-cccc-dddd-eeee-ffff00001111"

Response

No Content - Team member removed successfully