PUT api/2.0/settings/security/access This function requires authentication

Description

Set access to products, modules or addons

Parameters
Name Description Type Example
items
sent in body
Collection of ASC.Api.Collections.ItemKeyValuePair`2[System.String,System.Boolean]s
collection
Returns

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "webItemId": "00000000-0000-0000-0000-000000000000",
      "users": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "displayName": "Mike Zanyatski",
          "title": "Manager",
          "avatarSmall": "url to small avatar",
          "profileUrl": ""
        }
      ],
      "groups": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "Group Name",
          "manager": "Jake.Zazhitski"
        }
      ],
      "enabled": true,
      "isSubItem": false
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <webItemId>00000000-0000-0000-0000-000000000000</webItemId>
    <users>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </users>
    <groups>
      <id>00000000-0000-0000-0000-000000000000</id>
      <name>Group Name</name>
      <manager>Jake.Zazhitski</manager>
    </groups>
    <enabled>true</enabled>
    <isSubItem>false</isSubItem>
  </response>
</result>