delete
- Print
- PDF
delete
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Delete AI workspace.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
id | YES | String | Enter up to 22 characters. | - AI workspace ID UUID (base62) - aiWorkspaceId can be acquired through the AI Workspace's getList API |
Request headers
Request bodies
- JSON
{ "id": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <DeleteAiWorkspaceRequest> <id>string</id> </DeleteAiWorkspaceRequest>
Responses
Response bodies
- JSON
{ "id": "string", "message": "string", "success": true }
- XML
<?xml version="1.0" encoding="UTF-8"?> <DeleteAiWorkspaceResponse> <id>string</id> <message>string</message> <success>true</success> </DeleteAiWorkspaceResponse>
Errors
Examples
Request examples
POST https://df.apigw.ntruss.com/api/v2/aiworkspaces/delete
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
{
"id": "5R4q4qDy7AafDHz9IeTIfu"
}
curl -X POST "https://df.apigw.ntruss.com/api/v2/aiworkspaces/delete" \
-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 "{ \"id\": \"5R4q4qDy7AafDHz9IeTIfu\"}" \
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "id": "5R4q4qDy7AafDHz9IeTIfu" }
Was this article helpful?