killContainer
- Print
- PDF
killContainer
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Restarts the component container of the Data Forest app.
Requests
Request Parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
id | YES | String | Enter up to 22 characters. | - app identifier UUID (base62) - id can be acquired through getList API of Apps. |
containerName | YES | String | Enter up to 60 characters. | - Container name - containerName can be acquired through the getDetail API of Apps |
Request headers
Request bodies
- JSON
{ "containerName": "string", "id": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <KillAppContainerRequest> <containerName>string</containerName> <id>string</id> </KillAppContainerRequest>
Responses
Response bodies
- JSON
{ "id": "string", "message": "string", "success": true }
- XML
<?xml version="1.0" encoding="UTF-8"?> <KillAppContainerResponse> <id>string</id> <message>string</message> <success>true</success> </KillAppContainerResponse>
Errors
Examples
Request Examples
HTTP
POST https://df.apigw.ntruss.com/api/v2/apps/killContainer HOST: df.apigw.ntruss.com Content-Type: application/json x-ncp-apigw-timestamp: 1658898041497 x-ncp-iam-access-key: 17F9A6E9F72BD92ED94B x-ncp-apigw-signature-v2: WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo= { "id": "A4LI7d5mRn1f6M2HxZAEE2" "containerName": "<container-name>", }
BASH
curl -X POST "https://df.apigw.ntruss.com/api/v2/apps/killContainer" \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -H "x-ncp-apigw-timestamp:1658898041497" \ -H "x-ncp-iam-access-key:17F9A6E9F72BD92ED94B" \ -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \ -d "{ \"containerName\": \"<container-name>\", \"id\": \"A4LI7d5mRn1f6M2HxZAEE2\"}" \
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "message": "success", "id": "f9uw5EGit8Kf26YnbJ2ag0" }
Was this article helpful?