cURL
curl --request GET \ --url https://your-sift-api-url.com/api/v2/user-groups:get-for-assets \ --header 'Authorization: Bearer <token>'
{ "userGroups": [ { "userGroupId": "<string>", "name": "<string>", "roleId": "<string>", "isDefault": true, "resources": { "assetIds": [ "<string>" ], "allAssets": true }, "userIds": [ "<string>" ], "isExternal": true } ], "roles": [ { "roleId": "<string>", "name": "<string>", "description": "<string>", "roleOrder": 123 } ] }
Retrieves user groups for a list of assets.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A successful response.
Show child attributes
Was this page helpful?