stacks
Remove a stack
Remove a stack. Access policy: restricted
delete/stacks/{id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/stacks/{id}
- Auth
- API key in header X-API-KEY
- or API key in header Authorization
Path parameters
idinteger required
Stack identifier
Query parameters
externalboolean
Set to true to delete an external stack. Only external Swarm stacks are supported
endpointIdinteger required
Environment identifier
Response
Success
Changes
No recorded changes to this operation across all 21 revisions of this API.