Update JWT Settings

Update JWT settings for the currently active organization.

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Request

This endpoint expects an object.
api_tokens_enabledbooleanRequired
Whether JWT API tokens are enabled
legacy_api_tokens_enabledbooleanRequired
Whether legacy API tokens are enabled
api_token_ttl_daysintegerRequired
Number of days before API tokens expire

Response

JWT settings updated successfully
api_tokens_enabledboolean
Whether JWT API tokens are enabled
legacy_api_tokens_enabledboolean
Whether legacy API tokens are enabled
api_token_ttl_daysinteger
Number of days before API tokens expire