---
title: "Renew Token"
method: POST
path: "/v0/enterprise/{enterprise_id}/developerapp/{developerapp_id}/renew-token/"
tags: ["esper_cloud_api_Token (Deprecated)"]
---

# Renew Token

`POST /v0/enterprise/{enterprise_id}/developerapp/{developerapp_id}/renew-token/`

API to renew your token

## Path parameters

- `enterprise_id` string, uuid, required
- `developerapp_id` string, uuid, required

## Query parameters

- `access_token` string, required

## Response `201`

successful operation

- EsperCloudApiTokenRenewV0
  - `id` string, integer — Id of the token
  - `user` string — Id of the user resource
  - `enterprise` string, uuid — Id of the enterprise resource
  - `token` string — API token for accessing esper APIs
  - `expires_at` string, date-time — Date and time of when your API token will get expired
  - `developerapp` string, uuid — Id of the developer app resource that you created using the esper dev console
  - `scope` string — This defines what access scopes your API token has
  - `created_on` string, date-time — Date and time of when this resource was created
  - `updated_on` string, date-time — Date and time of when this resource was updated

## Other responses

- `400` — Bad request
- `401` — Authorization information is missing or invalid.
- `403` — Forbidden, no permission to perform this action.
- `500` — Internal server error

---

[API](https://skmtc.dev/esper/apis/esper-api-reference.md) · [All operations](https://skmtc.dev/esper/apis/esper-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/esper/esper-api-reference/revisions/e1f64cbb488e/schema)
