Activate an identity
/api/v1/identities/{id}/activateReactivates an identity by setting is_active = true, the account-wide switch, allowing it to authenticate again in every Environment it belongs to. Writes an identity.status_set audit row (the same event the Console's account route emits), delivered to the account's subscriptions and to those of every Environment the identity is a member of. Returns a 200 message envelope. Returns 404 when the identity has no membership in this Environment.
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
application/json
data *MessageResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X POST "https://auth.canopy-io.com/api/v1/identities/value/activate" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "message": "string" } }
Tell us how we can improve this guide.