OAuth Apps

Activate suspended OAuth app

Changed on

Moves a suspended OAuth app back to status: "active", restoring its ability to authenticate and obtain new tokens via POST /oauth2/token.

Activating an app that is already active returns 400. A deleted app (the only way an app becomes revoked) is hidden from every lookup, so activating it returns 404, not the service's "Cannot activate a revoked app" 400; the only path back is to register a new app.

Creator-only.

post/oauth-clients/{appId}/activate

Request

  • Base URL
    https://app.pipeshub.com/api/v1
  • URL
    https://app.pipeshub.com/api/v1/oauth-clients/{appId}/activate
  • Auth
    HTTP bearer

Path parameters

appIdstring required

OAuth app ID

Response

OAuth app activated

messagestring required

Example response

{
  "message": "OAuth app activated 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

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status