Rename an account
Modifies an account by updating its name to the specified new value. Use this endpoint to change an account’s name as needed.
HTTP method and endpoint
POST /tenancy/account/{accountId}/rename/{newAccountName}
Token usage
BlueXP user token.
Usage notes
Renames the specified account with a specified new name.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
accountId |
string |
path |
True |
|
newAccountName |
string |
path |
True |
|
authorization |
string |
header |
True |
Authorization JWT access token |
X-User-Token |
string |
header |
False |
User JWT access token |
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Response
Status: 200, Default response