Rename a workspace
Contributors
Suggest changes
PATCH /tenancy/account/{accountId}/workspace/{workspacePublicId}
Renames a workspace with a specified new name.
Token usage: BlueXP user token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountId |
string |
path |
True |
|
workspacePublicId |
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 |
Request Body
Name | Type | Required | Description |
---|---|---|---|
newName |
string |
True |
Example request
{
"newName": "string"
}
Response
Status: 200, Default response
Name | Type | Required | Description |
---|---|---|---|
workspacePublicId |
string |
False |
|
workspaceName |
string |
False |
Example response
{
"workspacePublicId": "string",
"workspaceName": "string"
}
Definitions
See Definitions
body
Name | Type | Required | Description |
---|---|---|---|
newName |
string |
True |