PUT: Add Companies to Access Control Groups

https://api.bitsighttech.com/ratings/v1/access-groups/companies

Add companies to an Access Control Group. A company can be added to any number of groups.

Only Admin (Customer Admin) can manage companies in a group or Group Admin (Customer Group Admin) can manage companies for their own group. See permissions.

Parameters

* Required.

companies

* Required.

[Body] Companies to add to the group.

Value: [Array] Comma-separated company unique identifiers [entity_guid]. See GET: Portfolio Details.

groups

* Required.

[Body] The selected groups to update company subscriptions.

Value: [Array] Comma-separated group unique identifiers [group_guid]. See GET: Access Control Groups.

Example Request

curl -i --request PUT --url 'https://api.bitsighttech.com/ratings/v1/access-groups/companies' --user api_token: --header 'content-type: application/json' --data '{
  "groups": [
    "88888888-eeee-8888-eeee-888888888888",
    "dddddddd-3333-dddd-3333-dddddddddddd"
  ],
  "companies": [
     "1b3d260c-9e23-4e19-b3a5-a0bcf67d74d9",
    "a5e23bf0-38d4-4cea-aa50-19ee75da481d"
  ]
}'

Status Codes

See the common errors and status codes.

200 – Okay
Everything worked as expected.
  • April 30, 2020: Published.
Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.