Delete a deny
/api/v1/denies/{id}Deletes a deny: access returns to whatever grants allow, on Canopy's routes from the next request and in an SDK within its cache window. Writes a deny.deleted audit row and webhook event (cause: deleted). Requires deny.manage.
Authentication
Bearer Token
Authorization Option A JWT access token. Never send alongside X-API-Key: a request carrying both is refused.
API Key
X-API-Key Option B API key for management-tier access. Never send alongside an Authorization header: a request carrying both is refused.
Path Parameters
idstring Required Responses
The deny was deleted
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
curl -X DELETE "https://auth.canopy-io.com/api/v1/denies/value" \ -H "X-API-Key: $CANOPY_API_KEY"
HTTP/1.1 204 The deny was deleted (empty body)
Tell us how we can improve this guide.