DELETE/api/plugin_connection_attempts/{id}

Cancel a provider authorization attempt

Cancels a pending or exchanging provider authorization attempt owned by the authenticated user. Use the attempt's UUID as id to identify the attempt. If the attempt is already connected, it remains connected.

1 parameter
idstringrequired
The UUID of the provider authorization attempt to cancel.

1 status code
200Returns the authoritative attempt state, including its identifier, state, expiry time, connection identifier, and target. An attempt that is already connected remains connected.
dataobjectoptional

Error handling

The id path parameter must be a UUID identifying an attempt owned by the authenticated user that is pending or exchanging. Cancelling an already connected attempt does not disconnect it.