サブアカウント APIアクセスルールの変更
    • PDF

    サブアカウント APIアクセスルールの変更

    • PDF

    Article Summary

    サブアカウントの APIアクセスルールを変更します。

    API

    • PUT /sub-accounts/{subAccountId}/access-rules/api

    リクエスト

    Body

    {
        "useApiAllowSource": "boolean",
        "apiAllowSources": [
            {
                "type": "string",
                "source": "string"
            }
        ]
    }
    
    パラメータ必須有無タイプ制限事項説明
    useApiAllowSourceYbooleanAPI利用の際にアクセス制限を利用可能
    apiAllowSourcesNarrayAPIアクセス可能なリスト
    apiAllowSources[].typeNstringアクセス可能なソースタイプ(IP、VPC、VPC_SERVER)
    apiAllowSources[].sourceNstringアクセス可能なソース情報(IP、InstanceNo)

    レスポンス

    パラメータ名必須有無タイプ説明
    ProcessResultYProcessResult処理結果
    • レスポンス例
    {
      "useApiAllowSource": "boolean",
      "apiAllowSources": [
        {
          "type": "string",
          "source": "string"
        }
      ]
    }
    

    エラー

    以下のエラーコードは、このアクション(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.