docs(stacks): require endpointId for delete [EE-4334] (#8897)

pull/8901/head
Chaim Lev-Ari 2 years ago committed by GitHub
parent d77a0887a7
commit 2d22c4ff7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,7 @@ import (
// @security jwt
// @param id path int true "Stack identifier"
// @param external query boolean false "Set to true to delete an external stack. Only external Swarm stacks are supported"
// @param endpointId query int false "Environment(Endpoint) identifier used to remove an external stack (required when external is set to true)"
// @param endpointId query int true "Environment(Endpoint) identifier used to remove an external stack (required when external is set to true)"
// @success 204 "Success"
// @failure 400 "Invalid request"
// @failure 403 "Permission denied"

Loading…
Cancel
Save