Skip to Content
iAdvizeDocs

Undo the acceptance of an empty catalog

Undoes the acceptance of a connector's empty catalog, as the Undo of the connector's page does. No alert opens here: the next check that finds the catalog empty opens the `catalog_empty` alert again. Recorded in the audit log as `connector.empty_catalog_acceptance_undone`, attributed to the API key.

DELETE
/api/v1/connectors/{connectorId}/accept-empty-catalog

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).

Path Parameters

connectorId*string

The connector id (prefixed conn_), from the site's connector list or the subject of a connector_unavailable or catalog_empty alert. A connector id that isn't yours, or that was deleted, is a 404.

Response Body

Whether the empty catalog is accepted.

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://example.com/api/v1/connectors/string/accept-empty-catalog'
Example Response
{  "data": {    "connectorId": "conn_01kvnwmagvf27rc9cze5rm9e1r",    "accepted": false,    "acceptedAt": null,    "catalogEmpty": true  }}