Team routes
Team membership and team settings.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
page?integer1 <= valuepageSize?integer1 <= valuesortBy?stringsortOrder?string"asc""desc"includeTotal?string"true""false"search?stringlength <= 255status?string"active""archived"Default Response
curl -X GET 'https://your-app-node-url/v1/teams' \ -H 'ttr-token: <session-token>'Requires platform admin.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
name*string1 <= length <= 255description?stringlength <= 1024Default Response
curl -X POST 'https://your-app-node-url/v1/teams' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Requires team capability users.read. Acts on the team in the id path parameter.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringDefault Response
curl -X GET 'https://your-app-node-url/v1/teams/string' \ -H 'ttr-token: <session-token>'Requires team capability team.update. Acts on the team in the id path parameter.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringapplication/json- body
1 <= propertiesname?string1 <= length <= 255description?stringlength <= 1024Default Response
curl -X PATCH 'https://your-app-node-url/v1/teams/string' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{}'Acts on the team in the id path parameter.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringDefault Response
curl -X GET 'https://your-app-node-url/v1/teams/string/permissions' \ -H 'ttr-token: <session-token>'Requires team capability team.archive. Acts on the team in the id path parameter.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringDefault Response
curl -X POST 'https://your-app-node-url/v1/teams/string/archive' \ -H 'ttr-token: <session-token>'Requires platform admin.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringDefault Response
curl -X POST 'https://your-app-node-url/v1/teams/string/unarchive' \ -H 'ttr-token: <session-token>'