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