Delete a stack
Delete a stack
DELETE/api/v1/stacks/{stack_id}
Deletes the stack for good; requests naming its model_id fail afterwards. To stop it serving and keep it, update its status to inactive.
Delete a stack
curl https://api.prod.adaptionlabs.ai/api/v1/stacks/$STACK_ID \
-X DELETE \
-H "Authorization: Bearer $ADAPTION_API_KEY"{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"object": "stack.deleted",
"deleted": true
}Returns Examples
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"object": "stack.deleted",
"deleted": true
}