curl --request POST \
--url https://api.sandbox.tesouro.com/identity/v1/locations/{locationId}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "ASSIGN",
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"detail": "<string>",
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}Token types: APP, USER | Required scopes: team:write
curl --request POST \
--url https://api.sandbox.tesouro.com/identity/v1/locations/{locationId}/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "ASSIGN",
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"detail": "<string>",
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
Use this file to discover all available pages before exploring further.
Application (M2M) OAuth2 access token (client credentials).
The ID of the location.
Cancellation token.
Memberships updated successfully.
Was this page helpful?