Pulsarr

Update user email

PUT
/v1/users/update-email

Change the current user email by providing current password and new email

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Request Body

Change the current admin email address

application/json
  1. body

Change the current admin email address

currentPassword*string

Current password for verification

Length8 <= length
newEmail*string

New email address to set

Match^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail

Response Body

Default Response

application/json
  1. response

Standard success message response

message*string

Human-readable result message

Example Request
curl -X PUT 'http://localhost:3003/v1/users/update-email' \  -H 'Content-Type: application/json' \  -d '{  "currentPassword": "stringst",  "newEmail": "user@example.com"}'
Example Response
{  "message": "string"}