Delete

delete
https://api.wafeq.com/v1/zatca/connected-accounts/{id}/

Endpoint for deleting a connected account. A connected account with documents, in any status and in either environment, cannot be deleted, so its documents stay reachable: revoke its devices to stop it from reporting and to stop it counting towards the active connected accounts your contract allows.

๐Ÿšง

Enterprise only

Connected accounts are part of the E-invoicing Platform Enterprise plan. Without it, production requests for a connected account are refused with enterprise_plan_required, and only a simulation API key can create or change a connected account, so you can build and test your integration before you contact sales.

Connected accounts should be used only for Platforms and White Label integrations that onboard customers and report documents on their behalf. Omit the X-ZATCA-Connected-Account-Id header when registering devices or reporting documents for your own organization. See the Platforms and White Label guide.

Path Params
stringrequired

A unique value identifying this connected account.

Headers
string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

Response