Skip to main content
PATCH
/
accounts
/
rename
Rename account
curl --request PATCH \
  --url https://api.quiva.ai/accounts/rename \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_name": "new-acme",
  "email_code": "123456"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
new_name
string
required

New account name. Cannot clash with the name of another account on the platform

email_code
string
required

Email verification code. To obtain one, see /accounts/email-code

Response

Account renamed successfully

message
string