SubAccount Overview
    • PDF

    SubAccount Overview

    • PDF

    Article summary

    This provides an API that can manage SubAccount/Group/Policy information.
    This API is RESTful API and uses HTTP GET/POST/PUT/DELETE methods.

    Common Setting

    API URL

    GET or POST or PUT or DELETE
    https://subaccount.apigw.ntruss.com/api/v1
    

    Request headers

    Go to Guide for how to generate a Naver Cloud Platform authentication key and signature

    HeaderDescription
    x-ncp-apigw-timestampThis shows the time elapsed since January 1, 1970 00:00:00 UTC.
    If the time differs from that of the API Gateway server by 5 minutes or more, then the request is considered invalid.
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyThis is the Access Key ID value issued by the Naver Cloud Platform portal.
    x-ncp-iam-access-key:{Main Account Access Key}
    x-ncp-apigw-signature-v2This is the signature encrypted Access Key ID value and Secret Key.
    x-ncp-apigw-signature-v2:{API Gateway Signature}

    Common Model

    ProcessResult

    ParameterRequiredTypeDescription
    successYBooleanResult of processing
    idNStringCreation/Editing result ID (Used in Creation and Multi Add/Delete APIs)
    messageNStringResult message of processing
    • model
    ProcessResult {
      Boolean success;
      String id;
      String message;
    }
    
    • json
    {
      "id": "",
      "success": true
    }
    

    ErrorResponse

    ParameterRequiredTypeDescription
    errorCodeYintError code
    messageYStringError message
    • model
    ErrorResponse {
      int errorCode;
      String message;
    }
    
    • json
    {
      "errorCode": 9011,
      "message": "Error message"
    }
    

    Operations

    SubAccount

    Group

    Policy

    Role


    Was this article helpful?

    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.