Suspend OAuth app
Changed onMoves 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.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/oauth-clients/{appId}/suspend
- AuthHTTP bearer
Path parameters
OAuth app ID
Response
OAuth app suspended
Example response
{
"message": "OAuth app suspended successfully",
"app": {
"tokenIdentityUserId": "65f0c0ffee00000000000000"
}
}Changes
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info