UPDATE Workspace
PATCH/workspaces/:workspaceId
UPDATE Workspace
Request
Path Parameters
workspaceId uuidrequired
- application/json
Body
displayName stringnullable
Responses
- 200
- 400
- 500
Updated workspace.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
workspaceId uuidrequired
displayName stringrequired
createdAt date-timerequired
createdBy uuidrequired
state int32required
Possible values: [Enabled
, Disabled
]
isInitial booleanrequired
stateChangeReason int32
Possible values: [Manual
, TrialExpiration
, SubscriptionAssigned
, SubscriptionEnabled
, SubscriptionExpiration
, WorkspaceDeletion
]
workspaceDefaultStorage
object
required
subscriptionId stringrequired
resourceGroupName stringrequired
storageAccountName stringrequired
{
"workspaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"displayName": "string",
"createdAt": "2024-12-17T17:37:35.086Z",
"createdBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"state": "Enabled",
"isInitial": true,
"stateChangeReason": "Manual",
"workspaceDefaultStorage": {
"subscriptionId": "string",
"resourceGroupName": "string",
"storageAccountName": "string"
}
}
{
"workspaceId": "23d8e4f8-70ef-4ed8-96eb-6a3553b95497",
"displayName": "My Workspace",
"createdAt": "2023-01-29T09:45:00Z",
"createdBy": "3c5abcb0-5faf-401c-b8c8-e026b7ceee57",
"state": "Enabled",
"isInitial": false,
"workspaceDefaultStorage": {
"subscriptionId": "7850ea3f-249d-4e90-92f6-28ce50224dd7",
"resourceGroupName": "ddp-workspaces-data-prd-rg",
"storageAccountName": "32yx15nw5xc2merh9junfke4"
}
}
Validation error.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Internal error.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...