1. Docs
  2. API Reference
  3. Re-send email verification

Re-send email verification

POST/portal/v1/accounts/{accountSlug}/identities/{id}/resend-verification

Authentication

  • Bearer Token Authorization

    JWT access token

Path Parameters

Name Required Type Description
idRequiredstring

Code samples

cURLJavaScriptPythonGo
curl -X POST "https://api.canopy.dev/portal/v1/accounts/{accountSlug}/identities/value/resend-verification" \
  -H "Authorization: Bearer $CANOPY_TOKEN"

Responses

200 Regenerates the email-verification token and re-sends the verification email. Useful when the original verification email expired before the identity acted on it.
{
  "message": "string"
}

application/json

  • messagestring*
401 Invalid or expired token
403 This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa)
404 Identity not found
409 Identity email is already verified — nothing to resend

Returned object

On this page

Related endpoints

GETList identities in Account
POSTCreate an Account identity
POSTBulk-create Account identities
GETGet directory counts for the Account
GETGet an Account identity
PATCHUpdate an Account identity profile
PATCHSet Account-wide is_active flag
POSTAdmin-trigger a password reset email
GETList audit events for an Account identity
POSTAdd an identity to an Application (create AppMembership)
DELETERemove an identity from an Application (revoke AppMembership)