curl --request DELETE \
--url https://app.thinnest.ai/api/v1/teams/{id}/members/{memberId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/teams/{id}/members/{memberId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/teams/{id}/members/{memberId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "team_4b7e9d13-8f2a-4c56-a0b8-d2e4f6a8c013",
"name": "Front desk",
"members": [
"8c0d2f6e-4a1b-4c3d-9e7f-5b6a0d1c2e34"
],
"projects": [
"proj_9a1c3e57-2b4d-4f68-8e0a-1c3e5f7b9d24"
],
"createdAt": "2026-09-30T10:20:44.130Z"
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "This API key is read-only: it can read everything but change nothing."
}{
"error": "That team was not found."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Remove Team Member
Takes a member out of the team; they stay in the workspace. Taking out somebody who is not in the team changes nothing. Answers with the team. A build key may do this.
curl --request DELETE \
--url https://app.thinnest.ai/api/v1/teams/{id}/members/{memberId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/teams/{id}/members/{memberId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/teams/{id}/members/{memberId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "team_4b7e9d13-8f2a-4c56-a0b8-d2e4f6a8c013",
"name": "Front desk",
"members": [
"8c0d2f6e-4a1b-4c3d-9e7f-5b6a0d1c2e34"
],
"projects": [
"proj_9a1c3e57-2b4d-4f68-8e0a-1c3e5f7b9d24"
],
"createdAt": "2026-09-30T10:20:44.130Z"
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "This API key is read-only: it can read everything but change nothing."
}{
"error": "That team was not found."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Authorizations
Your API key (ta_live_…) from Settings → API keys, sent as Authorization: Bearer <key>. Keep it on a server: it can message every customer you have. A key is full, build or read-only; a request its level does not allow is refused with 403.
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Path Parameters
The team's id (team_…).
The member's id, from List Members.
Response
The team, without the member.
The team's id (team_…).
"team_4b7e9d13-8f2a-4c56-a0b8-d2e4f6a8c013"
Its name.
"Front desk"
Its members, by the id List Members answers with.
["8c0d2f6e-4a1b-4c3d-9e7f-5b6a0d1c2e34"]
The projects it can reach (proj_…).
["proj_9a1c3e57-2b4d-4f68-8e0a-1c3e5f7b9d24"]
"2026-09-30T10:20:44.130Z"