View Single Role
    • PDF

    View Single Role

    • PDF

    Article summary

    View a single role.

    API

    • GET /roles/{roleNo}

    Requests

    Path Variables

    ParametersRequirement statusTypeRestrictionsDescription
    roleNoYStringRole 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"
    }
    
    ItemTypeDescriptionRemarks
    activebooleanRole status (true: enabled, false: disabled)
    createTimestringCreated: 2019-08-10T13:21:00Z
    descContstringRole description (max: 300 bytes)
    entitiesarrayList of entities assigned to a role
    entities.idstringRole Entity Id
    entities.typestringRole entity type (available: Server, Account)
    entities.entityIdintegerRole Entity IdDeprecated
    entities.entityTypestringRole entity typeDeprecated
    modifiedTimestringLast edited: 2019-08-10T13:21:00Z
    nrnstringRole nrn
    policiesarrayList of policies assigned to a role
    policies.policyDescstringPolicy description
    policies.policyIdstringPolicy ID
    policies.policyNamestringPolicy
    policies.policyTypestringPolicy type (SYSTEM_MANAGED, USER_CREATED)
    roleNamestringRole name
    roleNostringRole No
    roleTypestringRole type (available: Server, Account)
    sessionExpirationSecintegerSession 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 codeError codeError message
    40130Wrong roleNo

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.