Skip to main content
PUT
/
identity
/
v1
/
locations
/
{locationId}
/
members
/
{userId}
Assigns a user to a location.
curl --request PUT \
  --url https://api.sandbox.tesouro.com/identity/v1/locations/{locationId}/members/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "<string>",
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

locationId
string<uuid>
required

The ID of the location.

userId
string<uuid>
required

The ID of the user to assign.

Response

User assigned successfully.