Clerk · Capability

Clerk Platform Api — JWT Templates

Clerk JWT Templates capability. 5 operations. Lead operation: List JWT Templates.

Run with Naftiko ClerkJWT Templates

Capability Spec

clerk-platform-api-jwt-templates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Clerk Platform Api — JWT Templates
  description: 'Clerk JWT Templates capability. 5 operations. Lead operation: List JWT Templates.'
  tags:
  - Clerk
  - JWT Templates
  created: '2026-05-22'
  modified: '2026-05-22'
binds:
- namespace: env
  keys:
    CLERK_PARTNER_KEY: CLERK_PARTNER_KEY
capability:
  consumes:
  - type: http
    namespace: clerk-platform-api-jwt-templates
    baseUri: https://api.clerk.com/v1
    description: Clerk clerk-platform-api JWT Templates business capability.
    resources:
    - name: platform-applications-applicationid-instances-envorinsid-jwt-templates
      path: /platform/applications/{applicationID}/instances/{envOrInsID}/jwt_templates
      operations:
      - name: PlatformListJWTTemplates
        method: GET
        description: List JWT Templates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationID
          in: path
          type: string
          description: Application ID.
          required: true
        - name: envOrInsID
          in: path
          type: string
          description: 'Environment type (e.g., "development", "production") or instance ID.

            '
          required: true
      - name: PlatformCreateJWTTemplate
        method: POST
        description: Create a JWT Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationID
          in: path
          type: string
          description: Application ID.
          required: true
        - name: envOrInsID
          in: path
          type: string
          description: 'Environment type (e.g., "development", "production") or instance ID.

            '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: platform-applications-applicationid-instances-envorinsid-jwt-templates-templateid
      path: /platform/applications/{applicationID}/instances/{envOrInsID}/jwt_templates/{templateID}
      operations:
      - name: PlatformGetJWTTemplate
        method: GET
        description: Get a JWT Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationID
          in: path
          type: string
          description: Application ID.
          required: true
        - name: envOrInsID
          in: path
          type: string
          description: 'Environment type (e.g., "development", "production") or instance ID.

            '
          required: true
        - name: templateID
          in: path
          type: string
          description: JWT Template ID.
          required: true
      - name: PlatformUpdateJWTTemplate
        method: PATCH
        description: Update a JWT Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationID
          in: path
          type: string
          description: Application ID.
          required: true
        - name: envOrInsID
          in: path
          type: string
          description: 'Environment type (e.g., "development", "production") or instance ID.

            '
          required: true
        - name: templateID
          in: path
          type: string
          description: JWT Template ID.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: PlatformDeleteJWTTemplate
        method: DELETE
        description: Delete a JWT Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationID
          in: path
          type: string
          description: Application ID.
          required: true
        - name: envOrInsID
          in: path
          type: string
          description: 'Environment type (e.g., "development", "production") or instance ID.

            '
          required: true
        - name: templateID
          in: path
          type: string
          description: JWT Template ID.
          required: true