> ## Documentation Index
> Fetch the complete documentation index at: https://www.domo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Collection Permissions

> List all entities that have permissions on a collection, optionally filtered by entity type or ID.



## OpenAPI

````yaml /openapi/product/appdb.yaml get /api/datastores/v1/collections/{collectionId}/permission
openapi: 3.0.0
info:
  title: App DB API
  version: v1
  description: |
    The App DB API allows developers to interact with AppDB, a NoSQL database 
    for storing arbitrary JSON documents. This API supports CRUD operations, 
    querying, and aggregation, enabling developers to manage data efficiently 
    within their Domo applications.
servers:
  - url: https://{instance}.domo.com
    description: Domo Instance
    variables:
      instance:
        default: api
        description: Your specific Domo instance name (e.g., mycompany)
security:
  - developerToken: []
tags:
  - name: Documents
    description: Manage individual documents in an AppDB collection.
  - name: Collections
    description: Manage AppDB collections (schema, permissions).
  - name: App DB API (Product)
    description: Manage documents and collections in AppDB.
paths:
  /api/datastores/v1/collections/{collectionId}/permission:
    get:
      tags:
        - App DB API (Product)
      summary: List Collection Permissions
      description: >-
        List all entities that have permissions on a collection, optionally
        filtered by entity type or ID.
      parameters:
        - name: collectionId
          in: path
          required: true
          schema:
            type: string
          description: The ID of the collection.
        - name: sourceType
          in: query
          required: false
          schema:
            type: string
            enum:
              - USER
              - GROUP
              - RYUU_APP
          description: Filter by entity type.
        - name: sourceIds
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          description: >-
            Filter by specific entity IDs. User and group IDs are numeric (for
            example, `870010733`); app (`RYUU_APP`) IDs are UUIDs (for example,
            `fcd8baba-9524-4fb5-b94b-b3d3b588e740`).
      responses:
        '200':
          description: OK. Returns a map of entity type to list of permission entries.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Keys are entity types (`USER`, `GROUP`, `RYUU_APP`). Values
                  are arrays of permission entries.
                additionalProperties:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        description: The entity ID (user ID, group ID, or proxy ID).
                      permissions:
                        type: array
                        items:
                          type: string
                        description: >-
                          List of permissions granted. Values are uppercase:
                          `ADMIN`, `READ`, `WRITE`, `SHARE`, `DELETE`,
                          `CREATE_CONTENT`, `READ_CONTENT`, `UPDATE_CONTENT`,
                          `DELETE_CONTENT`.
                      name:
                        type: string
                        description: Display name of the entity, if available.
              example:
                USER:
                  - id: '870010733'
                    permissions:
                      - ADMIN
                      - SHARE
                      - DELETE
                      - WRITE
                      - READ
                RYUU_APP:
                  - id: a1b2c3d4-1234-5678-abcd-ef0123456789
                    permissions:
                      - READ
                      - CREATE_CONTENT
                      - READ_CONTENT
                      - UPDATE_CONTENT
                      - DELETE_CONTENT
        '403':
          description: >-
            Forbidden. The collection does not exist or the user does not have
            permission to view its permission list.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: The item you're looking for can not be found
                status: 403
                statusReason: Forbidden
                toe: S3L5DHUFAT-79LXK-PWJG5
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message.
        status:
          type: integer
          description: HTTP status code.
        statusReason:
          type: string
          description: HTTP status reason phrase.
        toe:
          type: string
          description: Trace identifier for support; stands for Thread of Execution.
  securitySchemes:
    developerToken:
      type: apiKey
      in: header
      name: X-DOMO-Developer-Token
      description: Domo Developer Token for authentication.

````