PATCH
/
team_members
/
{team_member_id}
Update team member details
curl --request PATCH \
  --url https://{workspace}.neetocal.com/api/external/v1/team_members/{team_member_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "email": "oliver@example.com",
  "first_name": "Oliver",
  "last_name": "Smith",
  "time_zone": "Asia/Kolkata",
  "organization_role": "Admin",
  "active": false
}'
{
  "team_member": {
    "id": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "time_zone": "<string>",
    "profile_image_url": "<string>",
    "active": true,
    "organization_role": "<string>"
  }
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
required

You can generate an API key from the NeetoCal API Keys dashboard.

Path Parameters

team_member_id
string
required

Id of the team member that you want to update.

Example:

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

Body

application/json

Response

200
application/json

OK - Request succeeded

The response is of type object.