---
title: "POST /api/im/sources/{id}/rotate-bearer-token"
method: POST
path: "/api/im/sources/{id}/rotate-bearer-token"
tags: ["Im"]
---

# POST /api/im/sources/{id}/rotate-bearer-token

`POST /api/im/sources/{id}/rotate-bearer-token`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/im/sources/{id}/rotate-bearer-token`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Successful response

- object
  - `token` string, required: Shown once.
  - `bearerEnabled` true, required

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `404`: No such resource, or not visible to this token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
