curl --request GET \
--url https://api.siftstack.com/api/v2/user-groups:get-for-assets \
--header 'Authorization: Bearer <token>'{
"userGroups": [
{
"name": "<string>",
"isDefault": true,
"isExternal": true,
"userGroupId": "<string>",
"roleId": "<string>",
"resources": {
"allAssets": true,
"assetIds": [
"<string>"
]
},
"userIds": [
"<string>"
]
}
],
"roles": [
{
"roleId": "<string>",
"name": "<string>",
"description": "<string>",
"roleOrder": 123
}
]
}Retrieves user groups for a list of assets.
curl --request GET \
--url https://api.siftstack.com/api/v2/user-groups:get-for-assets \
--header 'Authorization: Bearer <token>'{
"userGroups": [
{
"name": "<string>",
"isDefault": true,
"isExternal": true,
"userGroupId": "<string>",
"roleId": "<string>",
"resources": {
"allAssets": true,
"assetIds": [
"<string>"
]
},
"userIds": [
"<string>"
]
}
],
"roles": [
{
"roleId": "<string>",
"name": "<string>",
"description": "<string>",
"roleOrder": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?