checkAvailableName
- Print
- PDF
checkAvailableName
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
View the name of the app that can be created when creating a Data Forest account.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
accountId | YES | String | Enter up to 22 characters. | - Account identifier UUID (base62) Id can be obtained through getList API in Accounts |
name | YES | String | Enter 3 to 15 characters. | App name |
Request headers
Request Bodies
- JSON
{ "accountId": "string", "name": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <CheckAppAvailableNameRequest> <accountId>string</accountId> <name>string</name> </CheckAppAvailableNameRequest>
Responses
Response bodies
- JSON
{ "availableName": false, "message": "string", "success": true }
- XML
<?xml version="1.0" encoding="UTF-8"?> <CheckAppAvailableNameResponse> <availableName>false</availableName> <message>string</message> <success>true</success> </CheckAppAvailableNameResponse>
Errors
Examples
Request examples
HTTP
POST https://df.apigw.ntruss.com/api/v2/apps/checkAvailableName 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= { "accountId": "adlZem05uh2coBZJ0SOWge", "name": "dev24x7" }
BASH
curl -X POST "https://df.apigw.ntruss.com/api/v2/apps/checkAvailableName" \ -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 "{ "accountId": "adlZem05uh2coBZJ0SOWge", "name": "dev24x7"}" \
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "message": "success", "availableName": true }
Was this article helpful?