curl --request GET \
--url https://api.sandbox.tesouro.com/identity/v1/users/{id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdDateTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationName": "<string>",
"status": "<string>",
"jobTitle": "<string>",
"lastLoggedInDateTime": "2023-11-07T05:31:56Z"
}Returns the user only if they belong to an organization below the caller in the hierarchy. Requires the org:read:all scope.
Token types: APP, USER | Required scopes: org:read:all
curl --request GET \
--url https://api.sandbox.tesouro.com/identity/v1/users/{id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdDateTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationName": "<string>",
"status": "<string>",
"jobTitle": "<string>",
"lastLoggedInDateTime": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The user ID to retrieve.
Returns the user from a related organization.
Summary information for a user from a related organization.
Was this page helpful?