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 that can be created when creating the Notebook.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
name | YES | String | Enter 3 to 15 characters. | Notebook name |
Request headers
Request bodies
- JSON
{ "name": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <CheckNotebookAvailableNameRequest> <name>string</name> </CheckNotebookAvailableNameRequest>
Errors
HTTP Status | Description |
---|---|
400 | invalid request parameters |
403 | not allowed to access |
404 | no such element |
500 | unexpected error |
Examples
Request Examples
POST https://df.apigw.ntruss.com/api/v2/notebooks/checkAvailableName
HOST: df.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: Azm1WBMWDgEONUCUbsVkB4tRIpc053uOHU8bitbQRtU=
x-ncp-apigw-timestamp: 1658898041497
x-ncp-iam-access-key: 17F9A6E9F72BD92ED94B
{
"name": "df-test"
}
curl -X POST "https://df.apigw.ntruss.com/api/v2/notebooks/checkAvailableName" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu"\
-H "x-ncp-apigw-timestamp: 1684389111294"\
-H "x-ncp-apigw-signature-v2: QNRzcCz87VRhaBByb7jz8/iJ+ZyDbHZimPm6hM0Hyp8=" \
-d "{ \"name\": \"df-test\"}"
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "availableName": true }
{ "success": true, "message": "'df-notebook' is not registrable name. already registered.", "availableName": false }
Errors examples
HTTP
HTTP Status Description 403 not allowed to access BASH
{ "message": "resource ('string') is not allowed or not exists", "success": false }
Was this article helpful?