サブアカウントの変更
    • PDF

    サブアカウントの変更

    • PDF

    Article Summary

    サブアカウントの情報を変更します。

    API

    • PUT /sub-accounts/{subAccountId}

    リクエスト

    Path Variables

    パラメータ必須有無タイプ制限事項説明
    subAccountIdYStringSub Account Id

    Body

    {
    	"active": "boolean",
    	"canAPIGatewayAccess": "boolean",
    	"canConsoleAccess": "boolean",
    	"email": "string",
    	"memo": "string",
    	"name": "string",
    	"isMfaMandatory": "boolean",
    	"useConsolePermitIp": "boolean",
    	"consolePermitIps": [
    		"string"
    	],
    	"useApiAllowSource": "boolean",
    	"apiAllowSources": [
    		{
    			"type": "string",
    			"source": "string"
    		}
    	]
    }
    
    パラメータ必須有無タイプ制限事項説明
    activeNbooleanサブアカウントの状態(true: 有効、false: 無効)
    canAPIGatewayAccessNboolean- API Gateway Access
    - Access Keyを作成し、当該キーで API Gatewayに登録された APIを使用可能
    canConsoleAccessNbooleanConsole Access
    サブアカウントが管理コンソールにアクセスできるように設定
    emailNstringメールアドレス
    memoNstringメモ(max: 100byte)
    nameYstring名前
    isMfaMandatoryNboolean2段階認証の必須有無(true: 必須、false: 任意)
    useConsolePermitIpNbooleanコンソールアクセスの際に、IPアドレス帯域制限を利用可能
    consolePermitIpsNarrayコンソールにアクセスできる IPアドレス帯域リスト
    useApiAllowSourceNbooleanAPI利用の際にアクセス制限を利用可能
    apiAllowSourcesNarrayAPIアクセス可能なリスト
    apiAllowSources[].typeNstringアクセス可能なソースタイプ(IP、VPC、VPC_SERVER)
    apiAllowSources[].sourceNstringアクセス可能なソース情報(IP、InstanceNo)

    レスポンス

    • レスポンス
    パラメータ名必須有無タイプ説明
    ProcessResultYProcessResult処理結果
    • レスポンス例 - 成功
    {
        "success": true,
        "id": "subAccountId"
    }
    

    エラー

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

    HTTP status codeエラーコードエラーメッセージ
    40130存在しないアカウント

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

    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.