getList
    • PDF

    getList

    • PDF

    Article summary

    Available in VPC

    Views all Data Forest account lists.

    Requests

    Request headers

    See common guide.

    Request Bodies

    • JSON

      {}
      
    • XML

      <?xml version="1.0" encoding="UTF-8"?>
      <GetAccountListRequest>
      </GetAccountListRequest>
      

    Responses

    Response bodies

    GetAccountListResponse

    • JSON
      {
        "contents": [
          {
            "createdAt": "2023-04-20T08:03:13.690Z",
            "disabled": true,
            "id": "string",
            "name": "string",
            "principal": "string",
            "status": "RUNNING"
          }
        ],
        "message": "string",
        "success": true,
        "total": 0
      }
      
    • XML
      <?xml version="1.0" encoding="UTF-8"?>
      <GetAccountListResponse>
        <contents>
          <createdAt>2023-04-20T08:06:37.666Z</createdAt>
          <disabled>true</disabled>
          <id>string</id>
          <name>string</name>
          <principal>string</principal>
          <status>RUNNING</status>
        </contents>
        <message>string</message>
        <success>true</success>
        <total>0</total>
      </GetAccountListResponse>
      

    Errors

    See DataForest overview

    Examples

    Request Examples

    • HTTP
      POST https://df.apigw.ntruss.com/api/v2/accounts/getList
      HOST: df.apigw.ntruss.com
      Content-Type: application/json
      x-ncp-apigw-timestamp: 1505290625682
      x-ncp-iam-access-key: D78BB444D6D3C84CA38A
      x-ncp-apigw-signature-v2: WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=
      
      
    • BASH
      curl -X POST "https://df.apigw.ntruss.com/api/v2/accounts/getList" \
      -H "accept: application/json" \
      -H "Content-Type: application/json" \
      -H "x-ncp-apigw-timestamp:1505290625682" \
      -H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \
      -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
      -d "{}" \
      

    Response examples

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
        "success": true,
        "message": "success",
        "total": 1,
        "contents": [
          {
            "id": "7GGp7VsPB8XcTXSh8SQXEg",
            "name": "cloud1",
            "principal": "cloud1@KR.DF.BETA.NAVERNCP.COM",
            "status": "RUNNING",
            "createdAt": "2023-05-04T05:02:26.418Z",
            "disabled": true
          }
        ]
      }
      

    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.