oauth-apps

Enable or disable a Custom OAuth App, or declare its already-revoked answer

Changed on
patch/v1/oauth-apps/{id}

Request

  • Base URL: https://api.typenode.ai
  • URL: https://api.typenode.ai/v1/oauth-apps/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The Custom OAuth App id (SCREAMING_SNAKE_CASE).

Request body

is_enabledboolean

Response

A disabled app mints no tokens: every credential that uses it stops refreshing until it is enabled again. The credentials themselves are untouched. The already-revoked answer applies to every credential deleted afterwards, including credentials created before it was declared.

idstring required
is_enabledboolean required

Changes

    • info

      api operation id oauth-apps-set-enabled removed and replaced with oauth-apps-update

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      added the required property to the response with the status