Skip to content
OpenPostDocs
OpenPostDocs
Auth

Revoke the OpenPost session and prepare optional provider logout

POST/auth/oidc/{provider_id}/logout

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

provider_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/auth/oidc/string/logout" \  -H "Content-Type: application/json" \  -d '{}'
{  "$schema": "https://example.com/api/v1/schemas/OIDCLogoutOutputBody.json",  "logout_url": "string"}