{
  "id": "refresh_jwt",
  "title": "Refresh JWT requests",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/rest-api/requests/users/refresh_jwt/",
  "summary": "Refresh JW token requests",
  "content": "\n| Method | Path | Description |\n|--------|------|-------------|\n| [POST](#post-refresh_jwt) | `/v1/users/refresh_jwt` | Get a new authentication token |\n\n## Get a new authentication token {#post-refresh_jwt}\n\n    POST /v1/users/refresh_jwt\n\nGenerate a new JSON Web Token (JWT) for authentication.\n\nTakes a valid token and returns the new token generated by the request.\n\n### Request {#post-request} \n\n#### Example HTTP request\n\n\tPOST /v1/users/refresh_jwt \n\n#### Request headers\n\n| Key | Value | Description |\n|-----|-------|-------------|\n| Host | cnm.cluster.fqdn | Domain name |\n| Authorization | JWT eyJ5bGciOiKIUzI1NiIsInR5cCI6IkpXVCJ9.\u003cbr\u003e\u003c/br\u003eeyJpYXViOjE0NjU0NzU0ODYsInVpZFI1IjEiLCJ\u003cbr\u003e\u003c/br\u003eleHAiOjE0NjU0Nz30OTZ9.2xYXumd1rDoE0e\u003cbr\u003e\u003c/br\u003edFzcLElMOHsshaqQk2HUNgdsUKxMU | Valid JSON Web Token (JWT) |\n\n#### Request body\n\n| Field | Type | Description |\n|-------|------|-------------|\n| ttl | integer | Time to live - The amount of time in seconds the token will be valid (optional) |\n\n### Response {#post-response} \n\nReturns a JSON object that contains the generated access token.\n\n#### Example JSON body\n\n```json\n {\n     \"access_token\": \"eyJ5bGciOiKIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXViOjE0NjU0NzU0ODYsInVpZFI1IjEiLCJleHAiOjE0NjU0Nz30OTZ9.2xYXumd1rDoE0edFzcLElMOHsshaqQk2HUNgdsUKxMU\"\n }\n```\n\n\n\n### Status codes {#post-status-codes} \n\n| Code | Description |\n|------|-------------|\n| [200 OK](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1) | A new token is given. |\n| [401 Unauthorized](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2) | The token is invalid or password has expired. |\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

