v61

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-018131,3812.6 MB
JWTs

Upsert a JWT associated with a Consumer

Create or Update a JWT associated with a Consumer using ID.

put/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/jwt/{JWTId}

Path parameters

ConsumerIdForNestedEntitiesstring required

Consumer ID for nested entities

JWTIdstring required

ID of the JWT to lookup

Request body

algorithm'ES256' | 'ES256K' | 'ES384' | 'ES512' | 'ESB256' | 'ESB320' | 'ESB384' | 'ESB512' | 'ESP256' | 'ESP384' | 'ESP512' | 'Ed25519' | 'Ed448' | 'EdDSA' | 'HS256' | 'HS384' | 'HS512' | 'PS256' | 'PS384' | 'PS512' | 'RS256' | 'RS384' | 'RS512' nullable
created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

keystring nullable
rsa_public_keystring nullable
secretstring nullable
tagsstring[] nullable

A set of strings representing tags.

Example request

{
  "algorithm": "HS256",
  "id": "75695322-e8a0-4109-aed4-5416b0308d85",
  "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
  "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}

Response

Successfully upserted JWT

algorithm'ES256' | 'ES256K' | 'ES384' | 'ES512' | 'ESB256' | 'ESB320' | 'ESB384' | 'ESB512' | 'ESP256' | 'ESP384' | 'ESP512' | 'Ed25519' | 'Ed448' | 'EdDSA' | 'HS256' | 'HS384' | 'HS512' | 'PS256' | 'PS384' | 'PS512' | 'RS256' | 'RS384' | 'RS512' nullable
created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

keystring nullable
rsa_public_keystring nullable
secretstring nullable
tagsstring[] nullable

A set of strings representing tags.

Example response

{
  "algorithm": "HS256",
  "consumer": {
    "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
  },
  "id": "75695322-e8a0-4109-aed4-5416b0308d85",
  "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
  "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}