Create a workspace
Contributors
Suggest changes
POST /tenancy/account/{accountId}/workspace/{name}
Creates a workspace in a specified account.
Token usage: BlueXP user token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountId |
string |
path |
True |
|
name |
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
Name | Type | Required | Description |
---|---|---|---|
workspacePublicId |
string |
False |
|
workspaceName |
string |
False |
Example response
{
"workspacePublicId": "string",
"workspaceName": "string"
}