Rename a user
POST
/admin/users/{username}/rename
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” username
required
string
Existing username of user
Request Body
Section titled “ Request Body ”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
Example generated
{ "new_username": "example"}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
Responses
Section titled “ Responses ”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"}