Skip to content

Rename a user

POST
/admin/users/{username}/rename
username
required
string

Existing username of user

RenameUserOption options when renaming a user

object
new_username
required

New username for this user. This name cannot be in use yet by any other user.

string
unique items
Example generated
{
"new_username": "example"
}

APIEmpty is an empty response

Media type application/json

APIForbiddenError is a forbidden error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APIValidationError is error format response related to input validation

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}