List resources shared with a group
Returns all dashboards and visuals currently shared with a group, along with the role, scope, and who granted the share. Use this to audit what a group can access. The response includes a summary with counts by resource type.
Authorization
BearerAuth AuthorizationBearer <token>
A project-scoped access token. Generate one via the Token API with your project ID and project secret.
In: header
Path Parameters
groupId*string
The group's unique identifier.
Query Parameters
resourceType?string
Filter results to a specific resource type.
Value in
"DASHBOARD" | "VISUAL"page?integer
One-based page number.
Default
1Range
1 <= valuelimit?integer
Maximum number of entries per page.
Default
20Range
1 <= value <= 100Response Body
application/json
application/json
application/json
application/json
application/json
curl -X get "https://semaphor.cloud/api/management/v1/groups/string/permissions"{
"groupId": "string",
"permissions": [
{
"id": "string",
"resourceType": "string",
"resourceId": "string",
"resource": {},
"role": "string",
"scope": "string",
"grantedBy": {},
"grantedByType": "org",
"grantedAt": "2019-08-24T14:15:22Z"
}
],
"summary": {
"totalResources": 0,
"byType": {
"dashboards": 0,
"visuals": 0
}
},
"pagination": {
"page": 0,
"limit": 0,
"totalCount": 0,
"totalPages": 0,
"hasMore": true
}
}{
"error": "string",
"details": "string",
"code": "string",
"fieldErrors": [
{
"field": "string",
"message": "string"
}
]
}{
"error": "string",
"details": "string",
"code": "string",
"fieldErrors": [
{
"field": "string",
"message": "string"
}
]
}{
"error": "string",
"details": "string",
"code": "string",
"fieldErrors": [
{
"field": "string",
"message": "string"
}
]
}{
"error": "string",
"details": "string",
"code": "string",
"fieldErrors": [
{
"field": "string",
"message": "string"
}
]
}