Update JWT Settings

Update JWT settings for the currently active organization.

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Request

This endpoint expects an object.
api_token_ttl_daysintegerRequired1-365
api_tokens_enabledbooleanOptional
Enable JWT API token authentication for this organization
legacy_api_tokens_enabledbooleanOptional
Enable legacy API token authentication for this organization

Response

api_token_ttl_daysinteger1-365
api_tokens_enabledboolean or null
Enable JWT API token authentication for this organization
legacy_api_tokens_enabledboolean or null
Enable legacy API token authentication for this organization