Skip to main content
Sync Tenant Permission
curl --request PUT \
  --url https://{api_endpoint}/api/v1/tenants/{tenant_id}/permissions \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

tenant_id
string
required

Query Parameters

user_id
string
required
permission
enum<integer> | null
Available options:
1,
2,
3

Response

Successful Response