Username

Change system admin username

post

Change system admin username.

Authorizations
Body
namestring · min: 1 · max: 64required

The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin, system, administrator, and root are reserved names for system admin only with case ignored.

Responses
curl -L \
  --request POST \
  --url 'https://HOSTNAME:8887/api/admin/username' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "text"
  }'

No body

Was this helpful?