---
title: "Unlink an OIDC identity from the current account"
method: DELETE
path: "/auth/oidc/identities/{identity_id}"
tags: ["Auth"]
---

# Unlink an OIDC identity from the current account

`DELETE /auth/oidc/identities/{identity_id}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/auth/oidc/identities/{identity_id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Path parameters

- `identity_id` string, required

## Request body

- OIDCUnlinkIdentityInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `reauth_grant` string, required

## Response `200`

OK

- MessageOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `message` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
