Archive team
import requests
url = "https://app.langwatch.ai/api/teams/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"archivedAt": "2023-11-07T05:31:56Z"
}Teams
Archive team
Archive a team (soft-delete). Sets archivedAt timestamp. The team will no longer appear in list or get operations. Requires team:delete permission.
DELETE
/
api
/
teams
/
{id}
Archive team
import requests
url = "https://app.langwatch.ai/api/teams/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"archivedAt": "2023-11-07T05:31:56Z"
}Authorizations
Admin API key for organization-level operations (managing projects, API keys). Create one in Settings > API Keys or via POST /api/api-keys. Format: sk-lw-{id}_{secret}.
Path Parameters
Team ID
Was this page helpful?
⌘I