PUT api/consumer/v1/workspaces/{workspaceId}
Update an existing workspace
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workspaceId |
ID of the workspace |
integer |
Required |
Body Parameters
New workspace informations
WorkspaceEditDtoName | Description | Type | Additional information |
---|---|---|---|
OwnerId |
Owner of element |
integer |
None |
BackGround |
Background color |
string |
None |
IsArchived |
True if element is archived |
boolean |
None |
Code |
The short code of the element |
string |
None |
Description |
The description of the element |
string |
None |
IsActive |
True if the element is active, false otherwise |
boolean |
None |
Id |
Unique ID |
integer |
None |
Request Formats
application/json, text/json
Sample:
{ "OwnerId": 1, "BackGround": "sample string 2", "IsArchived": true, "Code": "sample string 4", "Description": "sample string 5", "IsActive": true, "Id": 7 }
application/xml, text/xml
Sample:
<WorkspaceEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <Id>7</Id> <Code>sample string 4</Code> <Description>sample string 5</Description> <IsActive>true</IsActive> <BackGround>sample string 2</BackGround> <IsArchived>true</IsArchived> <OwnerId>1</OwnerId> </WorkspaceEditDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None |
|
Content | HttpContent |
None |
|
StatusCode | HttpStatusCode |
None |
|
ReasonPhrase | string |
None |
|
Headers | Collection of Object |
None |
|
RequestMessage | HttpRequestMessage |
None |
|
IsSuccessStatusCode | boolean |
None |