Script Connections

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

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

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

Changed in 3 of the 104 revisions of this API.16

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

      response-media-type-added

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

      response-media-type-added

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

      response-media-type-added

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

      response-media-type-added

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

      response-media-type-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation