cURL
curl --request PUT \ --url https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/jwt_templates/:jwt_template_type \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "template_content": "<string>", "custom_audience": "<string>" } '
{ "request_id": "<string>", "jwt_template": { "template_content": "<string>", "custom_audience": "<string>", "jwt_template_type": "SESSION" }, "status_code": 123 }
Set updates a specific JWT template for a project
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
SESSION
M2M
Request type
Successful response
Response type
Show child attributes