Skip to main content
PUT
Replace (sync) the roles for a user

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The user identifier

Gövde

application/json
role_ids
integer[]
gerekli

Role IDs to assign (full sync — empty array clears all roles).

A role ID.

Yanıt

success
string
gerekli
data
any[]
gerekli