---
title: "Initiate the OAuth flow to refresh a connection for an application"
method: PATCH
path: "/users/connectedApplications/refresh"
tags: ["Connected applications"]
---

# Initiate the OAuth flow to refresh a connection for an application

`PATCH /users/connectedApplications/refresh`

__Activity name :__ PatchRefreshConnectedApplicationByBearerToken

A successful call to this endpoint will return an OAuth URL that can be used to the OAuth flow for the current user to refresh the existing connection.

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket/apis/loket-api.md) · [All operations](https://skmtc.net/loket/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket/loket-api/revisions/32d1693f8db8/schema)
