Remove one of the organization's domain claims
/api/v1/organizations/{id}/domains/{domain}Removes a domain claim from the organization; the bound connection stops routing and admitting that domain on the next login. Emits an sso.domain.removed audit row and returns 204; responds 404 when the organization holds no claim for that domain.
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 domainstring Required Responses
Delete the claim. Sign-ins for that domain stop routing to the organization's connection on the next attempt.
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
curl -X DELETE "https://auth.canopy-io.com/api/v1/organizations/value/domains/value" \ -H "X-API-Key: $CANOPY_API_KEY"
HTTP/1.1 204 Delete the claim. Sign-ins for that domain stop routing to the organization's connection on the next attempt. (empty body)
Tell us how we can improve this guide.