Role の個別照会
    • PDF

    Role の個別照会

    • PDF

    Article Summary

    Roleを個別照会します。

    API

    • GET /roles/{roleNo}

    リクエスト

    Path Variables

    パラメータ要否タイプ制約事項説明
    roleNoYStringRole No

    レスポンス

    {
    	"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"
    }
    
    項目タイプ説明備考
    activebooleanRoleのステータス(true: 有効、false: 無効)
    createTimestring作成日時 2019-08-10T13:21:00Z
    descContstringRole description (max: 300 bytes)
    entitiesarrayRoleが付与されたエンティティリスト
    entities.idstringRole Entity Id
    entities.typestringRole Entityタイプ(available: Server、Account)
    entities.entityIdintegerRole Entity IdDeprecated
    entities.entityTypestringRole EntityタイプDeprecated
    modifiedTimestring最終修正日時 2019-08-10T13:21:00Z
    nrnstringRole nrn
    policiesarrayRoleが付与されたポリシーリスト
    policies.policyDescstringポリシー description
    policies.policyIdstringポリシー ID
    policies.policyNamestringポリシー名
    policies.policyTypestringポリシータイプ(SYSTEM_MANAGED、USER_CREATED)
    roleNamestringRole名
    roleNostringRole No
    roleTypestringRoleタイプ(available: Server、Account)
    sessionExpirationSecintegerセッション有効期限(available: (600、1800、3600、10800)

    エラー

    以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。エラーレスポンス形式は ErrorResponseをご参照ください。
    共通して発生するエラーについての詳細は、NAVER Cloud Platform APIをご参照ください。

    HTTP status codeエラーコードエラーメッセージ
    40130不正な roleNo

    この記事は役に立ちましたか?

    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.