v10

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-0582185581.9 KB
OAuth Apps

Suspend OAuth app

Moves an OAuth app to status: "suspended", blocking new token issuance at POST /oauth2/token and the authorization-code consent flow. Tokens that have already been issued remain valid until their natural expiry — call POST /oauth-clients/{appId}/revoke-all-tokens immediately afterwards if you need an immediate lockout.

Use this for temporary suspensions where you intend to reactivate later. For permanent removal, use DELETE /oauth-clients/{appId}. Suspending an app that is already suspended returns 400.

Creator-only.

post/oauth-clients/{appId}/suspend

Path parameters

appIdstring required

OAuth app ID

Response

OAuth app suspended

messagestring required

Example response

{
  "message": "OAuth app suspended successfully"
}