Delete a PIX key entry
Removes a PIX key from the DICT directory and hides the plugin’s local row. entryId is the key VALUE, URL-encoded; the body carries accountId.
Two ownership gates run before anything is deleted, and both fail closed. The key must appear in the account’s own §8.2.06 directory listing, and §8.2.14 must report it held by this ISPB and account number - a key held by anyone else is 403 PIX-0018, and an ownership check that could not complete refuses with the upstream cause rather than claiming the key is not yours. If DICT reports the key does not exist at all, no delete is sent: a stale local row is hidden so the listing stops advertising it, and with no local row either the call is 403 PIX-0018.
Order matters for recovery. DICT is deleted FIRST, then the local row is soft-deleted (deleted_at is set and the status column is left alone, so nothing marks the row as cancelled). A failure between the two steps leaves the key gone upstream while the local row keeps surfacing in GET /v1/entries with its stale status; re-issuing this same DELETE cleans it up, because the absent-upstream branch above then applies. The DICT deletion itself cannot be undone through this API - register the key again with POST /v1/entries.
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
The PIX key value (URL-encoded).
"11122233300"
Body
The CRM account id of the key owner.
"acc-123"
Response
OK
The PIX key that was deleted.
"11122233300"

