POST api/consumer/v1/workspaces/{workspaceId}/team
Add a new User to the workspace
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workspaceId |
WorkspaceId |
integer |
Required |
Body Parameters
New workspace Team information
WorkspaceTeamEditDtoName | Description | Type | Additional information |
---|---|---|---|
CanModify |
True if User can modify |
boolean |
None |
CanDelete |
True if User can delete |
boolean |
None |
UserId |
User id of Team |
integer |
None |
Request Formats
application/json, text/json
Sample:
{ "CanModify": true, "CanDelete": true, "UserId": 3 }
application/xml, text/xml
Sample:
<WorkspaceTeamEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <CanDelete>true</CanDelete> <CanModify>true</CanModify> <UserId>3</UserId> </WorkspaceTeamEditDto>
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 |