create

Prev Next

Available in VPC

Create a Data Forest account.

Request

This section describes the request format. The method and URI are as follows:

Method URI
POST /api/v2/accounts/create

Request headers

For information about the headers common to all Data Forest APIs, see Data Forest request headers.

Request body

You can include the following data in the body of your request:

Field Type Required Description
name String Required Account name
  • Enter 2 to 16 characters by combining lowercase English letters, numbers, and special character "-".
password String Required Account password
  • Enter 8 to 20 characters including at least one English letter, number, and special character.
  • Special characters that can't be used: ', ", ₩, /, &, `, space

Request example

The request example is as follows:

curl --location --request POST 'https://df.apigw.ntruss.com/api/v2/accounts/create' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--data '{
    "name": "df001",
    "password": "********"
}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
success Boolean - API processing result
  • true | false
    • true: succeeded
    • false: failed
message String - Result message
  • Displayed if success is false
id String - Account's unique identifier
  • UUID converted to Base62 format

Response status codes

For information about the HTTP status codes common to all Data Forest APIs, see Data Forest response status codes.

Response example

The response example is as follows:

{
    "success": true,
    "id": "Arv**************kfn"
}