Docs/API Reference/Connect: Apps

Disconnect PriceLabs: revoke one connection's key (provider pricelabs)

Connect Widget · DELETE /v1/connect/:provider

Disconnect PriceLabs: revoke one connection's key (provider pricelabs)

DELETE/v1/connect/:provider

Note

DELETE /v1/connect/pricelabs?id=. PriceLabs loses access immediately; prices and minimum stays it already pushed stay. Fires `account.disconnected` (reason manual_disconnect). An id that is not this workspace's, or already revoked, returns 404.

Request

curl -X DELETE https://api.repull.dev/v1/connect/pricelabs?id=523 \
  -H "Authorization: Bearer $REPULL_API_KEY"

Response

{
  "disconnected": true,
  "provider": "pricelabs",
  "accountId": null,
  "connectionId": "523",
  "listingsDeactivated": []
}

Query Parameters

idstring

The connection id from `accounts[]`. Optional when the workspace has exactly one; with several and no id the answer is 422 with them in `valid_values`.

accountIdstring

Also accepted for PriceLabs, with the same value as `id`.

AI