PUT /admin/tenants/{tenant_id}/applications/{app_id}/members/{role_id}
Update a user's role or permissions in an application.
Tenant Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Tenant ID |
app_id |
path |
string |
Yes |
|
|
|
Application ID |
role_id |
path |
string |
Yes |
|
|
|
Role assignment ID |
Request Body
Schema: dto.UpdateUserAppRoleRequest
| Field | Type | Required | Example | Constraints | Description |
expires_at |
string |
No |
|
|
|
is_active |
boolean |
No |
|
|
|
permissions |
array of
string |
No |
|
|
|
role |
string |
No |
|
|
|
Referenced Schemas
dto.UserAppRoleDetailResponse
dto.UserAppRoleResponse
User application role details
| Field | Type | Required | Example | Constraints | Description |
application_id |
string |
No |
app_abc123 |
|
|
assigned_by |
string |
No |
|
|
|
created_at |
string |
No |
|
|
|
expires_at |
string |
No |
|
|
|
id |
string |
No |
uar_abc123 |
|
|
is_active |
boolean |
No |
|
|
|
permissions |
array of
string |
No |
['["read"', '"write"]'] |
|
|
role |
string |
No |
admin |
|
|
tenant_id |
string |
No |
tnt_abc123 |
|
|
updated_at |
string |
No |
|
|
|
user_id |
string |
No |
usr_xyz789 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|