curl --request PUT \
--url https://api.sandbox.tesouro.com/identity/v1/departments/{departmentId}/members/{userId} \
--header 'Authorization: Bearer <token>'{
"detail": "<string>",
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}Token types: APP, USER | Required scopes: team:write
curl --request PUT \
--url https://api.sandbox.tesouro.com/identity/v1/departments/{departmentId}/members/{userId} \
--header 'Authorization: Bearer <token>'{
"detail": "<string>",
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the department.
The ID of the user to assign.
User assigned successfully.
Was this page helpful?