Autional Autional
API Reference GitHub autional.com →

GET /admin/tenants/{tenant_id}/applications/{app_id}/roles/{role_id}

Get details of a specific default role.

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID
app_id path string Yes Application ID
role_id path string Yes Role ID

Responses

StatusDescriptionSchema
200Role detailsdto.AppDefaultRoleDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
404Default role not foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.AppDefaultRoleDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.AppDefaultRoleResponse No
message string No

dto.AppDefaultRoleResponse

Application default role details

FieldTypeRequiredExampleConstraintsDescription
application_id string No app_abc123
created_at string No
description string No
id string No adr_abc123
is_system boolean No
order integer No
permissions array of

string

No ['["read"]']
role string No viewer
tenant_id string No tnt_abc123
updated_at string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No