---
title: "Update JWT Settings"
method: POST
path: "/api/jwt/settings"
tags: ["JWT"]
---

# Update JWT Settings

`POST /api/jwt/settings`

Update JWT settings for the currently active organization.

## Request body

- LSEJWTSettingsRequest
  - `api_token_ttl_days` integer, required
  - `api_tokens_enabled` boolean — Enable JWT API token authentication for this organization
  - `legacy_api_tokens_enabled` boolean — Enable legacy API token authentication for this organization

## Response `201`

- LSEJWTSettings
  - `api_token_ttl_days` integer, required
  - `api_tokens_enabled` boolean — Enable JWT API token authentication for this organization
  - `legacy_api_tokens_enabled` boolean — Enable legacy API token authentication for this organization

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/8ab207b03dd5/schema)
