Skip to content

Verify User Email

POST
/api/superadmin/users/{user_id}/verify-email
curl --request POST \
--url https://example.com/api/superadmin/users/example/verify-email \
--header 'Authorization: Bearer <token>'

Manually mark a user’s email as verified (superadmin only).

Use this to resolve CWE-287 duplicate-account blocks: when auto-merge is blocked because the duplicate account’s email is unverified, verifying it here unblocks the merge on the user’s next login.

user_id
required
User Id
string

Successful Response

Media type application/json
Response Verify User Email Api Superadmin Users User Id Verify Email Post
object
key
additional properties
any
Example generated
{}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}