POST Security/UpdateProjectPermissions
Updates Project Permissions subject to security
Request Information
URI Parameters
None.
Body Parameters
Collection of AclProjectDTOName | Description | Type | Additional information |
---|---|---|---|
ProjectID |
ID of the project |
globally unique identifier |
None. |
Allowed |
Gets or sets the indicator to specify if ACL is Allowed |
boolean |
None. |
PermissionID |
Gets or sets the ID of the permission |
globally unique identifier |
None. |
Permission |
Permission |
string |
None. |
SecurityGroupID |
Gets or set the ID of SecurityGroup |
globally unique identifier |
None. |
SecurityGroup |
Security Group |
string |
None. |
Overridden |
Gets or sets the indicator to specify if Base ACL is overridden |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "ProjectID": "aa1deb03-dec6-41f2-a9f0-b05b8afbe646", "Allowed": true, "PermissionID": "5bbcc2e9-20f3-419c-9dab-849bedca6cbc", "Permission": "sample string 3", "SecurityGroupID": "f435e2d8-cfc1-42ff-b073-a69e9f0b6696", "SecurityGroup": "sample string 5", "Overridden": true }, { "ProjectID": "aa1deb03-dec6-41f2-a9f0-b05b8afbe646", "Allowed": true, "PermissionID": "5bbcc2e9-20f3-419c-9dab-849bedca6cbc", "Permission": "sample string 3", "SecurityGroupID": "f435e2d8-cfc1-42ff-b073-a69e9f0b6696", "SecurityGroup": "sample string 5", "Overridden": true } ] }
text/javascript
Sample:
{"results":[{"ProjectID":"aa1deb03-dec6-41f2-a9f0-b05b8afbe646","Allowed":true,"PermissionID":"5bbcc2e9-20f3-419c-9dab-849bedca6cbc","Permission":"sample string 3","SecurityGroupID":"f435e2d8-cfc1-42ff-b073-a69e9f0b6696","SecurityGroup":"sample string 5","Overridden":true},{"ProjectID":"aa1deb03-dec6-41f2-a9f0-b05b8afbe646","Allowed":true,"PermissionID":"5bbcc2e9-20f3-419c-9dab-849bedca6cbc","Permission":"sample string 3","SecurityGroupID":"f435e2d8-cfc1-42ff-b073-a69e9f0b6696","SecurityGroup":"sample string 5","Overridden":true}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfAclProjectDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <AclProjectDTO> <Overridden>true</Overridden> <SecurityGroup>sample string 5</SecurityGroup> <SecurityGroupID>f435e2d8-cfc1-42ff-b073-a69e9f0b6696</SecurityGroupID> <Allowed>true</Allowed> <Permission>sample string 3</Permission> <PermissionID>5bbcc2e9-20f3-419c-9dab-849bedca6cbc</PermissionID> <ProjectID>aa1deb03-dec6-41f2-a9f0-b05b8afbe646</ProjectID> </AclProjectDTO> <AclProjectDTO> <Overridden>true</Overridden> <SecurityGroup>sample string 5</SecurityGroup> <SecurityGroupID>f435e2d8-cfc1-42ff-b073-a69e9f0b6696</SecurityGroupID> <Allowed>true</Allowed> <Permission>sample string 3</Permission> <PermissionID>5bbcc2e9-20f3-419c-9dab-849bedca6cbc</PermissionID> <ProjectID>aa1deb03-dec6-41f2-a9f0-b05b8afbe646</ProjectID> </AclProjectDTO> </ArrayOfAclProjectDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |