Skip to main content
DELETE
/
team_members
/
{team_member_id}
Remove team member
curl --request DELETE \
  --url https://{your-subdomain}.neetocal.com/api/external/v1/team_members/{team_member_id} \
  --header 'Accept: <accept>' \
  --header 'X-Api-Key: <x-api-key>'
{
  "message": "Team member has been removed"
}
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying subdomain.

Headers

X-Api-Key
string
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.

Accept
enum<string>
default:application/json
required

Specifies the expected response format. Must be set to application/json for proper API communication.

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:

"13c02be6-8bd4-4dda-b9e6-07df53feb8a4"

Response

200 - application/json

OK - Team member removed successfully

message
string
Example:

"Team member has been removed"