Revoke dashboard shares
Removes access to a dashboard for one or more recipients. Inherited visual shares for those recipients are also revoked automatically. An Admin project token may revoke org_users_only from any dashboard in the same project and organization without first holding dashboard access, regardless of creator provenance. The Admin exception applies only when every submitted share uses org_users_only.
Authorization
BearerAuth AuthorizationBearer <token>
A project-scoped or dashboard-scoped access token. Generate one via the Token API using your project ID and project secret.
In: header
Path Parameters
dashboardId*string
Dashboard identifier.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X delete "https://semaphor.cloud/api/management/v1/dashboards/string/share" \ -H "Content-Type: application/json" \ -d '{ "shares": [ { "scope": "specific_tenant_user", "role": "VIEWER" } ] }'{
"message": "string",
"removed": [
{}
]
}{
"error": "string",
"code": "string",
"errorCode": "string",
"details": {},
"success": true
}{
"error": "string",
"code": "string",
"errorCode": "string",
"details": {},
"success": true
}{
"error": "string",
"code": "string",
"errorCode": "string",
"details": {},
"success": true
}{
"error": "string",
"code": "string",
"errorCode": "string",
"details": {},
"success": true
}{
"error": "string",
"code": "string",
"errorCode": "string",
"details": {},
"success": true
}