Skip to main content
DELETE
/
team_members
Remove team members
curl --request DELETE \
  --url https://{your-subdomain}.neetocal.com/api/external/v1/team_members \
  --header 'Accept: <accept>' \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "emails": [
    "oliver@example.com",
    "jane@example.com"
  ]
}
'
{
  "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

Body

application/json
emails
string<email>[]
required

Emails of the team members to be removed from the workspace in array format.

Example:
["oliver@example.com", "jane@example.com"]

Response

200 - application/json

OK - Team members removed successfully

message
string
Example:

"Team member has been removed"