JWTs
Create a new JWT associated with a Consumer
Create a new JWT associated with a Consumer
post/{workspace}/consumers/{ConsumerIdForNestedEntities}/jwt
Path parameters
ConsumerIdForNestedEntitiesstring required
Consumer ID for nested entities
workspacestring required
Example:team-payments
The name of the workspace
Request body
Example request
{
"algorithm": "HS256",
"id": "75695322-e8a0-4109-aed4-5416b0308d85",
"key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
"secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}Response
Successfully created JWT
Example response
{
"algorithm": "HS256",
"consumer": {
"id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
},
"id": "75695322-e8a0-4109-aed4-5416b0308d85",
"key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
"secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}Changes
Changed in 1 of the 11 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 11 revisions, 1 has no diff computed.