View Single Role
- Print
- PDF
View Single Role
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
View a single role.
API
- GET /roles/{roleNo}
Requests
Path Variables
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
roleNo | Y | String | Role No |
Responses
{
"active": "boolean",
"createTime": "string",
"descCont": "string",
"entities": [
{
"id": "string",
"type": "string"
}
],
"lastUseTime": "string",
"modifiedTime": "string",
"nrn": "string",
"policies": [
{
"policyDesc": "string",
"policyId": "string",
"policyName": "string",
"policyType": "string"
}
],
"roleName": "string",
"roleNo": "string",
"roleType": "string"
"sessionExpirationSec": "integer"
}
Item | Type | Description | Remarks |
---|---|---|---|
active | boolean | Role status (true: enabled, false: disabled) | |
createTime | string | Created: 2019-08-10T13:21:00Z | |
descCont | string | Role description (max: 300 bytes) | |
entities | array | List of entities assigned to a role | |
entities.id | string | Role Entity Id | |
entities.type | string | Role entity type (available: Server, Account) | |
entities.entityId | integer | Role Entity Id | Deprecated |
entities.entityType | string | Role entity type | Deprecated |
modifiedTime | string | Last edited: 2019-08-10T13:21:00Z | |
nrn | string | Role nrn | |
policies | array | List of policies assigned to a role | |
policies.policyDesc | string | Policy description | |
policies.policyId | string | Policy ID | |
policies.policyName | string | Policy | |
policies.policyType | string | Policy type (SYSTEM_MANAGED, USER_CREATED) | |
roleName | string | Role name | |
roleNo | string | Role No | |
roleType | string | Role type (available: Server, Account) | |
sessionExpirationSec | integer | Session expiration time (available: 600, 1800, 3600, 10800) |
Errors
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information about common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
401 | 30 | Wrong roleNo |
Was this article helpful?