naftiko: 1.0.0-alpha2 info: label: Clerk Backend Api — Organization Permissions description: 'Clerk Organization Permissions capability. 5 operations. Lead operation: Get a List of All Organization Permissions.' tags: - Clerk - Organization Permissions created: '2026-05-22' modified: '2026-05-22' binds: - namespace: env keys: CLERK_SECRET_KEY: CLERK_SECRET_KEY capability: consumes: - type: http namespace: clerk-backend-api-organization-permissions baseUri: https://api.clerk.com/v1 description: Clerk clerk-backend-api Organization Permissions business capability. resources: - name: organization-permissions path: /organization_permissions operations: - name: ListOrganizationPermissions method: GET description: Get a List of All Organization Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query in: query type: string description: 'Returns organization permissions with ID, name, or key that match the given query. Uses exact match for permission ID and partial match for name and key.' required: false - name: order_by in: query type: string description: 'Allows to return organization permissions in a particular order. At the moment, you can order the returned permissions by their `created_at`, `name`, or `key`. In order to specify the direction, you c' required: false - name: CreateOrganizationPermission method: POST description: Create a New Organization Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: organization-permissions-permission-id path: /organization_permissions/{permission_id} operations: - name: GetOrganizationPermission method: GET description: Get an Organization Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: permission_id in: path type: string description: The ID of the permission to retrieve required: true - name: UpdateOrganizationPermission method: PATCH description: Update an Organization Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: permission_id in: path type: string description: The ID of the permission to update required: true - name: body in: body type: object description: Request body (JSON). required: true - name: DeleteOrganizationPermission method: DELETE description: Delete an Organization Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: permission_id in: path type: string description: The ID of the permission to delete required: true