openapi: 3.0.1 info: title: GoodData Cloud Dashboards Permissions API description: REST API for GoodData Cloud, covering the Entity API (/api/v1/entities), the Declarative / Layout API (/api/v1/layout), and the Action API (/api/v1/actions). The API manages workspaces, data sources, the logical data model, metrics, visualizations, dashboards, AFM executions, users, and permissions. Authentication uses a Bearer API token in the Authorization header. termsOfService: https://www.gooddata.com/legal/ contact: name: GoodData Support url: https://support.gooddata.com version: '1.0' servers: - url: https://{domain}.gooddata.com description: GoodData Cloud organization host variables: domain: default: your-organization description: Your GoodData Cloud organization subdomain. security: - bearerAuth: [] tags: - name: Permissions paths: /api/v1/layout/workspaces/{workspaceId}/permissions: parameters: - $ref: '#/components/parameters/WorkspaceId' get: operationId: getWorkspacePermissions tags: - Permissions summary: Get the declarative permissions assigned for a workspace. responses: '200': description: The workspace permission assignments. put: operationId: setWorkspacePermissions tags: - Permissions summary: Set the declarative permissions for a workspace. requestBody: required: true content: application/json: schema: type: object responses: '200': description: The updated workspace permissions. components: parameters: WorkspaceId: name: workspaceId in: path required: true description: The id of the workspace. schema: type: string securitySchemes: bearerAuth: type: http scheme: bearer description: 'GoodData Cloud API token passed as ''Authorization: Bearer ''.'