PUT
/
auth
/
email-addresses
curl --request PUT \
  --url https://api.pxyz.dev/api/v0/auth/email-addresses \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "email": "jsmith@example.com"
}'
{
  "id": "<string>",
  "tenantId": "<string>",
  "userId": "<string>",
  "email": "jsmith@example.com",
  "verifiedAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Body

application/json
id
string
required
email
string

Response

200 - application/json
id
string
required
tenantId
string
required
userId
string | null
email
string
required
verifiedAt
string | null
required
createdAt
string
required
updatedAt
string
required