Script Connections

Force-refresh the stored OAuth tokens for a provider (never returns token values)

Changed on
post/api/oauth-apps/{provider}/refresh

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/oauth-apps/{provider}/refresh
  • Auth
    HTTP bearer

Path parameters

providerstring required

Response

Refresh result with token status and new expiry

refreshedtrue required
tokenStatus'ok' | 'expiring' | 'refresh-failed' | 'revoked' | 'missing' required
expiresAtstring nullable required

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      endpoint added