User routes
User accounts and profile management.
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*stringpage?integer1 <= valuepageSize?integer1 <= valuesortBy?stringsortOrder?string"asc""desc"includeTotal?string"true""false"search?stringlength <= 255status?|array<>Default Response
curl -X GET 'https://your-app-node-url/v1/teams/string/members' \ -H 'ttr-token: <session-token>'Requires platform admin.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringapplication/json- body
email*stringemailrole*string"team_lead""member""viewer"Default Response
curl -X POST 'https://your-app-node-url/v1/teams/string/members' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "role": "team_lead"}'Requires a team capability that depends on the request. 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*stringuserId*stringapplication/json- body
1 <= propertiesrole?string"team_lead""member""viewer"status?string"active""suspended"Default Response
curl -X PATCH 'https://your-app-node-url/v1/teams/string/members/string' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{}'Requires team capability users.remove. 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*stringuserId*stringDefault Response
curl -X DELETE 'https://your-app-node-url/v1/teams/string/members/string' \ -H 'ttr-token: <session-token>'Requires global permission users.deactivate.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
userId*integer1 <= valueemail?string1 <= lengthDefault Response
curl -X POST 'https://your-app-node-url/v1/admin/users/deactivate' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{}'Requires global permission users.activate.
ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
userId*integer1 <= valueemail?string1 <= lengthDefault Response
curl -X POST 'https://your-app-node-url/v1/admin/users/activate' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{}'