Skip to main content
PUT
Add User to Tenant
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/user//aut Description: The /user/{userId}/aut endpoint allows users to add a specific user to a tenant identified by their unique userId. Authorization:
  • Required role: owner only
Method: PUT Path Parameter: Request Body (Optional):

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

User ID (TenantUser ID)

Body

application/json
redirect_url
string

The URL to redirect the user to after adding to tenant

Example:

"https://app.royalti.io/welcome"

sendEmail
boolean
default:true

Whether to send an invite email to the user

Response

success

The response is of type object.