Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Auditor role can be assigned to service users to grant them read-only permissions in the scope of a specific organization. It is recommended to use this role when you want service users to fetch organizational information, but don't want to grant them full admin permissions. 

NOTE: The groupAssignment and userAssignment are single entity fields, while groupAssignments and userAssignments are arrays that support receiving multiple values.

Code Block
{
    "requestType" : "setOrganizationAssignments",
    "userKey":"admin_user_key"
    "orgToken" : "organization_api_key",
    "readOnlyUsers" :
	{
       "groupAssignments":[{"name":"group_name"},{"name":"group_name"}], // This parameter will be deprecated shortly. Only the first value in each array will be used, since the default approver role only supports a single user.
	   "userAssignments":[{"email":"user_email"},{"email":"user_email"}],  //This parameter will be deprecated shortly. Only the first value in each array will be used, since the default approver role only supports a single group.
	   "groupAssignment":{"name":"group_name"},{"name":"group_name"},
	   "userAssignment":{"email":"user_email"},{"email":"user_email"}
    }
}

Response Format

Code Block
"message": "The following organization assignments have been set: Read Only"

...

They can also view data on the product and all projects under it, and open tickets for libraries.

NOTE: The groupAssignment and userAssignment are single entity fields, while groupAssignments and userAssignments are arrays that support receiving multiple values.

Code Block
{
  "requestType": "setProductAssignments",
   "userKey": "user_key", 
  "productToken": "product_api_key",
  "productIntegrators" :
  {
    "userAssignments":[{"email":"user_email"}], // This parameter will be deprecated shortly. Only the first value in each array will be used, since the default approver role only supports a single user.
    "groupAssignments":[{"name":"group_name"}], //This parameter will be deprecated shortly. Only the first value in each array will be used, since the default approver role only supports a single group.
    "userAssignment":{"email":"user_email"}, 
    "groupAssignment":{"name":"group_name"}
  }
}

Response Format

Code Block
"message":"Successfully set product assignments"

...