Skip to main content
DELETE
/
team-members
/
{team_member_id}
Remove team member
curl --request DELETE \
  --url https://{your-subdomain}.neetorecord.com/api/external/v2/team-members/{team_member_id} \
  --header 'Accept: <accept>' \
  --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
required

API key. Refer to Authentication for more information.

Accept
enum<string>
default:application/json
required

Must be application/json.

Available options:
application/json

Path Parameters

team_member_id
string<uuid>
required

Id of the team member that you want to remove. You can get team_member_id by listing all team members using our List team members API. Here you will see id for each team member.

Example:

"aaaabbbb-cccc-dddd-eeee-ffff00001111"

Response

No Content - Team member removed successfully