Skip to main content
PUT
/
user
/
{id}
/
aut
Add User to Tenant
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id}/aut \
  --header 'Authorization: Bearer <token>'
{}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/user/example-id/aut', {
  method: 'PUT',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({})
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

User ID

Response

success

The response is of type object.