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.
Parameters
* Required.
Parameter | Values |
---|---|
companies * [Body] Companies to add to the group. |
[Array] Comma-separated company unique identifiers [entity_guid ]. See GET: Portfolio Details. |
groups * [Body] The selected groups to update company subscriptions. |
[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.
Code | Descriptions |
---|---|
200 – Okay |
Everything worked as expected. |
April 30, 2020: Published.
Feedback
0 comments
Please sign in to leave a comment.