Pulsarr

Update user username

PUT
/v1/users/update-username

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

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Request Body

Change the current admin username

application/json
  1. body

Change the current admin username

currentPassword*string

Current password for verification

Length8 <= length
newUsername*string

New username to set

Length3 <= length <= 255

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-username' \  -H 'Content-Type: application/json' \  -d '{  "currentPassword": "stringst",  "newUsername": "string"}'
Example Response
{  "message": "string"}