openapi: 3.0.0 info: title: Kinde Management API Keys Permissions API version: '1' description: The Kinde Management API programmatically manages a Kinde business - users, organizations, roles, permissions, feature flags, applications, connections, APIs and scopes, subscribers, properties, webhooks, and billing. Base URL is subdomain-scoped to your business (https://{subdomain}.kinde.com/api/v1). Authenticated with a Bearer JWT access token obtained via the OAuth2 client_credentials flow from a machine-to-machine (M2M) application. This document is grounded in the official Kinde Management API specification (https://api-spec.kinde.com/kinde-management-api-spec.yaml). contact: name: Kinde Support Team email: support@kinde.com url: https://docs.kinde.com termsOfService: https://docs.kinde.com/trust-center/agreements/terms-of-service/ servers: - url: https://{subdomain}.kinde.com variables: subdomain: default: your_kinde_subdomain description: The subdomain generated for your business on Kinde. security: - kindeBearerAuth: [] tags: - name: Permissions paths: /api/v1/permissions: get: tags: - Permissions summary: List Permissions operationId: GetPermissions description: "The returned list can be sorted by permission name or permission ID in ascending or descending order. The number of records to return at a time can also be controlled using the `page_size` query string parameter.\n\n
\n read:permissions\n
" parameters: - name: sort in: query description: Field and order to sort the result by. schema: type: string - name: page_size in: query description: Number of results per page. Defaults to 10 if parameter not sent. schema: type: integer - name: next_token in: query description: A string to get the next page of results if there are more results. schema: type: string responses: '200': description: OK '400': description: Bad request '403': description: Forbidden '429': description: Too many requests - rate limited security: - kindeBearerAuth: [] post: tags: - Permissions summary: Create Permission operationId: CreatePermission description: "Create a new permission.\n\n
\n create:permissions\n
" responses: '200': description: OK '400': description: Bad request '403': description: Forbidden '429': description: Too many requests - rate limited security: - kindeBearerAuth: [] /api/v1/permissions/{permission_id}: patch: tags: - Permissions summary: Update Permission operationId: UpdatePermissions description: "Update permission\n\n
\n update:permissions\n
" parameters: - name: permission_id in: path required: true description: The identifier for the permission. schema: type: string responses: '200': description: OK '400': description: Bad request '403': description: Forbidden '429': description: Too many requests - rate limited security: - kindeBearerAuth: [] delete: tags: - Permissions summary: Delete Permission operationId: DeletePermission description: "Delete permission\n\n
\n delete:permissions\n
" parameters: - name: permission_id in: path required: true description: The identifier for the permission. schema: type: string responses: '200': description: OK '400': description: Bad request '403': description: Forbidden '429': description: Too many requests - rate limited security: - kindeBearerAuth: [] components: securitySchemes: kindeBearerAuth: type: http scheme: bearer bearerFormat: JWT description: Requires an access token obtained using the OAuth2 client_credentials flow from an authorized M2M application.