Revoke an invite
/api/v1/identity-invites/{id}Revokes a pending invite in the active Environment, marking it revoked so its token can no longer be accepted. Returns 204 No Content on success. Returns 404 when the invite is not found and 400 when it has already been accepted and can no longer be revoked.
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
Invite revoked
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/identity-invites/value" \ -H "X-API-Key: $CANOPY_API_KEY"
HTTP/1.1 204 Invite revoked (empty body)
Tell us how we can improve this guide.