Backend API
Update user email properties
cURL
curl --request PATCH \ --url https://api.wacht.dev/users/{user_id}/emails/{email_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "is_primary": true, "is_verified": true } '
{ "id": "<string>", "email": "[email protected]", "is_primary": true, "is_verified": true, "verified_at": "2023-11-07T05:31:56Z" }
JWT Bearer token authentication using the Authorization header
(i64 formatted as string)
Email updated successfully