Skip to content

Latest commit

 

History

History
159 lines (86 loc) · 4.4 KB

File metadata and controls

159 lines (86 loc) · 4.4 KB

\JwtTemplatesApi

All URIs are relative to https://api.clerk.dev/v1

Method HTTP request Description
create_jwt_template POST /jwt_templates Create a JWT template
delete_jwt_template DELETE /jwt_templates/{template_id} Delete a Template
get_jwt_template GET /jwt_templates/{template_id} Retrieve a template
list_jwt_templates GET /jwt_templates List all templates
update_jwt_template PATCH /jwt_templates/{template_id} Update a JWT template

create_jwt_template

crate::models::JwtTemplate create_jwt_template(create_jwt_template_request) Create a JWT template

Create a new JWT template

Parameters

Name Type Description Required Notes
create_jwt_template_request Option<CreateJwtTemplateRequest>

Return type

crate::models::JwtTemplate

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_jwt_template

crate::models::DeletedObject delete_jwt_template(template_id) Delete a Template

Parameters

Name Type Description Required Notes
template_id String JWT Template ID [required]

Return type

crate::models::DeletedObject

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_jwt_template

crate::models::JwtTemplate get_jwt_template(template_id) Retrieve a template

Retrieve the details of a given JWT template

Parameters

Name Type Description Required Notes
template_id String JWT Template ID [required]

Return type

crate::models::JwtTemplate

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_jwt_templates

Veccrate::models::JwtTemplate list_jwt_templates() List all templates

Parameters

This endpoint does not need any parameter.

Return type

Veccrate::models::JwtTemplate

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_jwt_template

crate::models::JwtTemplate update_jwt_template(template_id, create_jwt_template_request) Update a JWT template

Updates an existing JWT template

Parameters

Name Type Description Required Notes
template_id String The ID of the JWT template to update [required]
create_jwt_template_request Option<CreateJwtTemplateRequest>

Return type

crate::models::JwtTemplate

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]