removeScopeRoleAssignmentsForSharing mutation removes access to a specific resource (like a Dashboard) by revoking roles from users. This allows you to stop sharing Dashboards with individuals or groups.
Signature
Arguments
ID!
required
The unique identifier of the resource you want to remove sharing from (e.g., a Dashboard ID).
[ScopeRoleAssignmentInput!]!
required
Array of user-role assignments to remove. See ScopeRoleAssignmentInput for the input structure.
ScopeType!
required
The type of resource being unshared. For Dashboards, this should be
DASHBOARD.Response
Returns aResponseStatus object indicating the success or failure of the operation:
Usage example
The following example shows how to remove sharing access from a colleague:Next steps
Add Scope Role Assignments for Sharing
Grant sharing access to users
Delete Dashboard
Permanently delete a Dashboard
Dashboard Object
Dashboard object schema and properties

