Skip to content

Collaboration and automation

Actions API

Let an assistant, agent or service perform one approved side effect, such as a webhook delivery, on an endpoint you own and within limits you set.

Local preview

Contract 1 runs on the local service only. It is not hosted, published or pinned, and may change in place (see the preview change log). Requests without Roye-Contract-Version get contract 1, and responses name it. Nothing is charged. Events, exports, attestation and reconcile-now are not included. Your endpoint must be reachable from the service's network.

Quickstart

Your backend binds an endpoint it owns, stores the one-time signing secret and verifies the endpoint.

bind.http
# 1. Bind an endpoint you own. The signing secret is returned once, in this response only.
POST /v1/actions/bindings
Authorization: Bearer <backend key>
X-Roye-Project: <projectId>
X-Roye-Environment: development
Roye-Contract-Version: 1
Content-Type: application/json

{ "idempotencyKey": "bind-orders-1", "connectorId": "https_webhook", "displayName": "orders",
  "endpointUrl": "https://hooks.example.com/roye" }

# 201 { "binding": { "id": "acb_…", "state": "pending_verification", "pending": { "revision": 1, … }, … },
#       "secret": "<store it now>", "secretVersion": 1, "secretStatus": "returned" }

# 2. Install the secret in your receiver, then ask for one possession-proof challenge.
POST /v1/actions/bindings/acb_…/verify
{ "idempotencyKey": "verify-orders-1" }
# 202 { "id": "acb_…", "verification": { "state": "pending", "expiresAt": 1760000300000, … }, … }

# Read the binding again for the outcome.
GET /v1/actions/bindings/acb_…
# 200 { "state": "active", "activeRevision": 1, "verification": { "state": "passed", "receipts": [ … ] }, … }

It registers an invoker, issues it a token and writes a policy that requires approval.

invoker.http
# 3. An invoker, and a token for it. The token secret is returned once.
POST /v1/actions/invokers
{ "idempotencyKey": "inv-1", "kind": "agent", "displayName": "order-assistant" }
# 201 { "id": "aiv_…", "state": "active", "revision": 1, … }

POST /v1/actions/invokers/aiv_…/tokens
{ "idempotencyKey": "tok-1", "scopes": ["invoke", "read"], "ttlMs": 3600000 }
# 201 { "token": { "id": "atk_…", "state": "active", "expiresAt": 1760003600000, … },
#       "secret": "atk_…", "secretStatus": "returned" }
policy.http
# 4. A policy: this invoker may deliver refund.requested events to this binding, with approval, 10 an hour.
POST /v1/actions/policies
{ "idempotencyKey": "pol-1", "invokerIds": ["aiv_…"], "bindingId": "acb_…",
  "actionType": "https_webhook.deliver", "actionRevision": 1,
  "allowedEventTypes": ["refund.requested"], "maxPayloadBytes": 4096, "approval": "required",
  "countLimit": { "max": 10, "period": "hour" }, "dispatchWindowMs": 3600000 }
# 201 { "id": "apo_…", "state": "active", "current": { "revision": 1, … }, "revision": 1, … }

The assistant invokes with its token. The intent waits for a person's approval, then the service sends it once.

invoke.http
# The assistant invokes with its invoker token: no project headers, and the token names the invoker.
POST /v1/actions/intents
Authorization: Bearer atk_…
Roye-Contract-Version: 1

{ "idempotencyKey": "refund-o-1001", "bindingId": "acb_…", "actionType": "https_webhook.deliver",
  "input": { "eventType": "refund.requested", "body": { "orderId": "o-1001", "amount": 42 } } }
# 202 { "id": "aci_…", "state": "awaiting_approval", "approvalId": "apr_…", "attemptCount": 0, … }
# A policy without approval answers "state": "ready"; the dispatcher then sends it once.
# There is no approval field: a caller or a model can never name or create a decision.
# A person decides the approval (see Approvals below).

Concepts

Resources belong to one project and environment. IDs are opaque, times are milliseconds, and a change sends the revision you read as expectedRevision.

ResourceMeaning
ConnectorA read-only catalog entry, immutable per revision: action types, input limits, egress rules.
Binding (acb_)Your endpoint and its signing secret, returned once, sealed and never logged. A new configuration takes effect once verified. States: pending_verification, active, suspended, revoked, deleting, deleted.
Invoker (aiv_)An agent or service, powerless until a policy names it. States: active, suspended, retired.
Invoker token (atk_)Short-lived, scopes invoke and read, secret returned once. Retiring the invoker revokes it.
Policy (apo_)Lets invokerIds act on a bindingId: actionType (actionRevision 1), allowedEventTypes, maxPayloadBytes, approval (none or required), countLimit per hour or day, dispatchWindowMs, optional validUntil. Revisions are immutable and take the same fields. States: active, revoked.
Offered actionsWhat an invoker may do now, per policy: binding, action type, input limits, allowed event types, approval rule, policy and count limit. Never a URL or secret.
offered-actions.http
# What the invoker may do now, with a backend key or its own token. Never an endpoint URL or a secret.
GET /v1/actions/invokers/aiv_…/offered-actions
# 200 { "invokerId": "aiv_…", "items": [ { "bindingId": "acb_…", "actionType": "https_webhook.deliver",
#       "allowedEventTypes": ["refund.requested"], "approval": "required", … } ] }

Credentials

CredentialHeld byCan
Backend key (ryk_…)Your backendEverything except deciding.
Invoker token (atk_…)The assistantInvoke, and the reads and cancels noted under endpoints.
Approver token (apt_…)Your UIRead and decide one approval, and read its intent.
Console sessionProject membersDecide approvals, revoke an approved unused one. The owner also manages resources.

Actor connections and member or participant tokens get 403 forbidden before any lookup, as do invoker tokens on management routes. Keep keys and tokens out of browsers. Only a backend key sends X-Roye-Project and X-Roye-Environment.

Every invoker token use, including replay and each long-poll observation, rechecks the token. A refused admission creates no intent and uses no policy quota.

Endpoint URL rule

endpointUrl and the optional statusUrl are checked on create, on revise and at every connection. A breach is 400 endpoint_not_permitted.

RuleDetail
Scheme and porthttps on 443 only, with no port setting.
HostA fully qualified DNS name, never an IP address, localhost or a single label.
PartsNo user name, password or fragment, at most 2048 characters.
statusUrlSame host as endpointUrl.
AddressesResolved per connection. Any private, loopback, link-local or reserved address refuses the host.
RedirectsNever followed. A 3xx is an outcome.

Verification

Actions go only to a verified, active binding. POST /bindings/ID/verify sends one signed single-use challenge to the pending endpoint, then to statusUrl, and returns 202 (verification.state pending). Read the binding again for passed or failed.

ItemValue
RequestJSON POST: specVersion (roye.verification.v1), bindingId, bindingRevision, secretVersion, challenge (32 random bytes, base64url), expiresAt.
SignatureRoye-Timestamp (ms) and Roye-Signature: v1,<secretVersion>= plus the hex HMAC-SHA256 of <timestamp>.<raw body>, keyed with the secret's UTF-8 text. No Idempotency-Key.
Response200 with challengeResponse: base64url HMAC-SHA256 of roye.verification.v1.<bindingId>.<bindingRevision>.<challenge>.
FailureAnother status, a bad body, an echoed challenge, a wrong MAC, a reused or stale challenge, or no answer in five minutes (never retried). Receipts keep reason, status and latency, not your body.
ReceiverVerify the raw-body signature and a timestamp within five minutes. Trust only the signed body.
receiver.ts
// The receiver proves it holds the secret. The MAC key is the secret's UTF-8 text exactly as returned.
import { createHmac, timingSafeEqual } from 'node:crypto';

function answerChallenge(secret: string, rawBody: Buffer, headers: Record<string, string>) {
  const timestamp = Number(headers['roye-timestamp']);
  if (!Number.isFinite(timestamp) || Math.abs(Date.now() - timestamp) > 5 * 60_000) throw new Error('stale');
  // Roye-Signature: v1,<secretVersion>=<hex HMAC-SHA256 of "<timestamp>." followed by the raw body>
  const mac = createHmac('sha256', secret).update(`${timestamp}.`).update(rawBody).digest('hex');
  const given = headers['roye-signature'].split(';').map((entry) => entry.split('=')[1] ?? '');
  if (!given.some((value) => value.length === mac.length && timingSafeEqual(Buffer.from(value), Buffer.from(mac)))) throw new Error('bad signature');
  const challenge = JSON.parse(rawBody.toString('utf8'));
  const proof = createHmac('sha256', secret)
    .update(`roye.verification.v1.${challenge.bindingId}.${challenge.bindingRevision}.${challenge.challenge}`)
    .digest('base64url');
  return { challengeResponse: proof }; // answer 200 with this JSON body
}

Intents

Invoke with POST /v1/actions/intents. With onApprovalRequired: refuse, a policy needing approval answers approval_required and creates no intent.

StateMeaning
awaiting_approvalWaits for a person; carries approvalId.
readyNo approval needed, or approved. Sent once.
dispatchingBeing sent.
unknownSent, outcome unobserved. Never resent automatically.
completed2xx, or a status probe said applied.
provider_rejectedA definitive 4xx.
not_appliedA probe said not_applied, with the key durably refused.
unresolvedStill unknown at the end of the reconciliation window or project.
failedNever sent: transport retries ran out.
deniedThe approval was denied.
expiredThe approval or dispatch window ran out first.
cancelledCancelled before the dispatch point, or binding, invoker or project removed.
refusedAuthority changed first, such as approval_revoked or a narrowed policy.

GET /v1/actions/intents/ID?waitMs= answers on a state change or when the wait ends. Receipts carry status, latency, response digest and reference; only a backend key sees the excerpt. Unobserved values are absent, never 0.

intents.http
# 1. A lost invoke response: find the intent by its key (never invoke again under a new key).
GET /v1/actions/intents?idempotencyKey=refund-o-1001              # with the token
GET /v1/actions/intents?invokerId=aiv_…&idempotencyKey=refund-o-1001   # with the backend key
# 200 { "items": [ { "id": "aci_…", … } ], "next": null }   (an empty list: no intent holds the key)

# 2. Observe with a bounded wait (at most 20000 ms); the same view returns either way.
GET /v1/actions/intents/aci_…?waitMs=10000
GET /v1/actions/intents/aci_…/attempts
GET /v1/actions/intents/aci_…/receipts
# 200 { "items": [ { "kind": "dispatch_response", "httpStatus": 200, "latencyMs": 84, "responseDigest": "…", … } ] }
# A field that was not observed is absent, never 0.

# 3. Cancel before the dispatch point (token or backend key). A sent intent is effect_unknown instead.
POST /v1/actions/intents/aci_…/cancel
{ "idempotencyKey": "cancel-o-1001" }

# 4. An unknown outcome is never repeated automatically. A backend may ask for one explicit redispatch,
#    acknowledging that the action may already have taken effect (same intent, same key, no new unit).
POST /v1/actions/intents/aci_…/redispatch
{ "idempotencyKey": "redispatch-o-1001-1", "acknowledgeDuplicateRisk": true }
# 200 { "state": "unknown", "pendingRedispatch": { "dispatchSequence": 1, "redispatchBy": …, "approvalId": "apr_…" }, … }

Action results

  • A 2xx answer, or a probe answer applied, may carry a JSON reference, the receiver's ID for the effect: 1 to 200 characters, with no control, bidirectional, separator or zero-width characters.
  • On completion it lands in result with receiptId and observedAt; until then result is null. It never changes classification, Roye never interprets it, and it replaces the retired receiverReceiptId.
results.http
# Your receiver answers the action with any 2xx and, if it likes, its own reference for the effect:
HTTP/1.1 201 Created
Content-Type: application/json

{ "reference": "TICKET-4821" }

# A status probe answer with "status": "applied" may carry it as well:
{ "intentId": "aci_…", "idempotencyKey": "refund-o-1001", "status": "applied", "reference": "TICKET-4821" }

# The invoker reads it from the completed intent.
GET /v1/actions/intents/aci_…?waitMs=10000
# 200 { "id": "aci_…", "state": "completed",
#       "result": { "reference": "TICKET-4821", "receiptId": "arc_…", "observedAt": 1760000012000 }, … }
# Before the intent completes, "result" is null. A 2xx without a usable reference completes with "reference": null.

GET /v1/actions/intents/aci_…/receipts
# 200 { "items": [ { "kind": "dispatch_response", "httpStatus": 201, "reference": "TICKET-4821", … } ] }

Approvals

An approval authorizes one dispatch sequence of one intent. It binds the binding revision, endpoint host, action type and revision, input digest, policy revision and effect bound, never the input. States: pending, approved, denied, expired, withdrawn, consumed, revoked.

Routes are under /v1/actions/approvals, covered by the actions key scope (there is no approvals scope).

approvals.http
# 1. The approval that waits for a person. A backend key reads it under the Actions headers.
GET /v1/actions/approvals?state=pending
GET /v1/actions/approvals/apr_…
Authorization: Bearer <backend key>
X-Roye-Project: <projectId>
X-Roye-Environment: development
Roye-Contract-Version: 1
# 200 { "id": "apr_…", "state": "pending",
#       "binding": { "intentId": "aci_…", "dispatchSequence": 0, "endpointHost": "hooks.example.com", "inputDigest": "…", … },
#       "expiresAt": 1760003600000, "requestedBy": { "principal": "atk_…" }, "decidedBy": null, "revision": 1, … }

# 2. A member decides in the console, or your UI decides with an approver token (below).
#    Persist the key with the body before the first send.
POST /v1/actions/approvals/apr_…/decide
{ "idempotencyKey": "decide-apr-1", "decision": "approved", "reason": "Refund confirmed with the customer.", "expectedRevision": 1 }
# 200 the decided approval. The same body with the same key again: the original, with Roye-Replayed: true.
# 403 { "error": { "code": "forbidden", … } }   with a backend key, an invoker token, or the requester's own identity
# 409 revision_conflict once it was decided or ended; 409 invalid_transition once it expired

# 3. The answer was lost: recover the decision with the credential that made it (never a new key).
POST /v1/operations/recover
{ "module": "actions", "kind": "approvals.decide", "target": { "approvalId": "apr_…" }, "idempotencyKey": "decide-apr-1" }
# 200 { "operationId": "op_…", "state": "succeeded", "result": { "status": 200, … }, … }

# 4. A member revokes an approved approval that was not used yet; the intent is then refused (approval_revoked).
POST /v1/actions/approvals/apr_…/revoke
{ "idempotencyKey": "revoke-apr-1", "reason": "Wrong order.", "expectedRevision": 2 }

Decision rules

  • decide and revoke are keyed (approvals.decide, approvals.revoke, target approvalId), take expectedRevision and change the intent in the same transaction.
  • Only a console member revokes an approved, unused approval. Its intent is then refused (approval_revoked) or its redispatch abandoned.
  • Expiry needs no call: an unused approval past expiresAt reads expired and lists under state=expired.

Who may decide

  • Self-approval is 403 forbidden, by identity: a backend key is its whole rotation chain, a member is the same in the console or with a developer token, and an approver token decides as its issuer.
  • A key and the member who created it are different identities, and any member or approver token may decide an invoker token's request. So your backend can invoke and approve alone; for a strict four-eyes rule, keep backend keys away from approvers.

Approver tokens

An approver token lets a person without a Roye account decide one approval in your product. Your backend issues it for one pending approval with a backend key or a member's developer token, never as the requester. Hand it only to the decider; Roye never sends it.

  • The apt_ secret is returned once and stored only as a SHA-256 digest, never logged. ttlMs never passes the approval's expiresAt. States: active, expired, revoked.
  • With the token alone, your UI reads the approval and its intent, input included, decides once and recovers that decision. Other uses get 403 forbidden, 404 not_found, 401 unauthorized, credential_expired or credential_revoked, see errors.
  • A rotated issuing key's tokens last until its newest successor ends, a member's until the member leaves. decidedBy names the issuer and approverTokenId.
  • POST /v1/actions/approver-tokens/ID/revoke ends a token at once; decisions made stay. The console never issues these tokens.
approver-tokens.http
# 1. Your backend issues an approver token for one pending approval it did not request itself.
POST /v1/actions/approvals/apr_…/approver-tokens
Authorization: Bearer <backend key or a member's developer token>
X-Roye-Project: <projectId>
X-Roye-Environment: development
Roye-Contract-Version: 1

{ "idempotencyKey": "approver-o-1001", "ttlMs": 900000 }
# 201 { "token": { "id": "apt_…", "approvalId": "apr_…", "intentId": "aci_…", "state": "active",
#       "issuedBy": { "principal": "…" }, "issuedAt": 1760000000000, "expiresAt": 1760000900000 },
#       "secret": "apt_…", "secretStatus": "returned" }
# Hand the secret to the person who decides. It is returned once; a replay answers "secretStatus": "not_replayable".

GET /v1/actions/approvals/apr_…/approver-tokens        # metadata of every token, never a secret
POST /v1/actions/approver-tokens/apt_…/revoke
{ "idempotencyKey": "approver-o-1001-revoke" }

# 2. Your UI, holding only the approver token: no project headers.
GET /v1/actions/approvals/apr_…
GET /v1/actions/intents/aci_…                          # the intent this approval binds, input included
Authorization: Bearer apt_…
Roye-Contract-Version: 1

POST /v1/actions/approvals/apr_…/decide
{ "idempotencyKey": "decide-apr-1", "decision": "approved", "reason": "The customer confirmed the refund.", "expectedRevision": 1 }
# 200 { "id": "apr_…", "state": "approved", "decidedBy": { "principal": "…", "approverTokenId": "apt_…" }, … }
# Any other Actions or /v1/operations route: 403 forbidden. Another approval or intent: 404 not_found.
# Any route outside Actions and operations: 401 unauthorized, because the token is no credential there.
# 401 credential_expired once the token expired; 401 credential_revoked once it, or its issuer's access, was revoked.
# A lost answer: recover it as in Approvals, with this same token.

SDK

roye.actions (backend), RoyeActionsInvoker (assistant) and RoyeActionsApprover (your UI) send one contract 1 request per method and validate it with the contract schemas. They never poll, compute fields or keep secrets. Only the approver decides, with a required idempotencyKey.

approver.ts
import { RoyeActionsApprover } from '@roye-ai/client';

// The backend reads approvals and issues approver tokens; it never decides. A member decides in the console.
const pending = await roye.actions.approvals.list({ state: 'pending' });
const grant = await roye.actions.approvals.tokens.issue(approvalId, { idempotencyKey: 'approver-o-1', ttlMs: 900000 });
// grant.secret is returned once: hand it, with the approval ID, to the person's UI over your own session.

// The person's UI: the approver token only, no project headers.
const approver = new RoyeActionsApprover({ baseURL, token: () => approverToken, approvalId });
const approval = await approver.approval();
const action = await approver.intent(); // the intent this approval binds, input included
const decided = await approver.decide({ decision: 'approved', reason: 'Refund confirmed.', expectedRevision: approval.revision, idempotencyKey: 'decide-apr-1' });
// After a lost answer: send the same decision again (decided.replayed), or approver.recover('decide-apr-1').

Endpoints

Under /v1/actions, backend key unless noted. Lists take cursor and limit and return items and next. Writes take idempotencyKey, plus expectedRevision on change. Creates answer 201, verify and invoke 202, other writes 200.

RouteNotes
GET /connectors[/ID/revisions/N]Also invoker tokens.
POST /bindings, GET /bindings[/ID]Invoker tokens read their offered bindings.
POST /bindings/ID/{verify,revisions,suspend,resume,revoke,delete}Delete purges the secret and configuration, leaving a tombstone.
POST /invokers[/ID], GET /invokers[/ID]Invoker tokens read only their own.
POST /invokers/ID/{suspend,resume,retire}Retire lists revoked tokens in affected.tokens.
POST /invokers/ID/tokens, GET /invokers/ID/tokens[/ID], POST /tokens/ID/revokeIssue with scopes, ttlMs.
POST /policies, GET /policies[/ID], POST /policies/ID/{revisions,revoke}Revocation is terminal.
GET /invokers/ID/offered-actionsAlso the invoker's own token.
POST /intentsInvoker token (invoke), or backend key with invokerId. Optional onApprovalRequired (request, refuse).
GET /intents[/ID], GET /intents/ID/{attempts,receipts}Filter by state, bindingId, invokerId, idempotencyKey. Also invoker tokens (read), and an approver token for its intent.
POST /intents/ID/{cancel,redispatch}Cancel also with an invoker token. Redispatch needs acknowledgeDuplicateRisk: true.
GET /approvals[/ID]Filter by state. An approver token can only GET /approvals/ID, its own.
POST /approvals/ID/{decide,revoke}decision (approved, denied), reason, expectedRevision. Decide: console member or approver token. Revoke: console member.
POST /approvals/ID/approver-tokens, GET /approvals/ID/approver-tokens, POST /approver-tokens/ID/revokeIssue with ttlMs, also by a member's developer token, never the requester.
POST /v1/operations/recoverBy key, with the original credential.

Limits

Local preview placeholders that may change. The capabilities response names their revision.

LimitValue
Action body, maxPayloadBytes64 KiB.
Event types64 characters, 32 per policy.
Invokers per policy, active policies per invoker32, 64.
dispatchWindowMs1 minute to 7 days.
Invoker token ttlMs1 minute to 24 hours, default 1 hour. 32 active per invoker; expired ones free their slot.
Approver token ttlMs60000 to 3600000, default 900000. 8 per approval ever, revoked and expired included.
waitMsUp to 20000.
RedispatchOne at a time, 2 per intent.
DeliveryConnect and TLS 5 s, response 15 s, read 16 KiB.
Page size64.

Errors

Errors use the shared envelope (error.code, category, message, retryable, nextAction) and never carry a secret. Handle the code.

CodeHTTP and categoryCause or fix
invalid_request, payload_limit400, 413 invalid_inputFix the input, such as an unknown field, a connector other than https_webhook, empty scopes or a past validUntil.
endpoint_not_permitted400 invalid_bindingSee the URL rule.
contract_version_unsupported400 unsupportedSend a served version.
unauthorized401 deniedNo valid token, or an approver token outside Actions and operations.
credential_expired, credential_revoked401 revokedGet a new token. An approver token also ends when its issuer loses project access.
forbidden403 deniedWrong credential for the route, self-approval, or an approver token off its approval.
action_not_permitted403 deniedNo active policy permits it, or the invoker is retired.
approval_required403 deniedApproval needed under onApprovalRequired: refuse.
not_found404 deniedAbsent or not visible to you. Every retired /v1/approvals route answers it to any caller.
binding_not_active409 not_readyThe binding's state forbids it.
revision_conflict, invalid_transition409 conflictStale expectedRevision, approval already decided, or wrong state (such as expired). Read again.
idempotency_conflict409 conflictKey used with another body. Recover the original.
intent_not_cancellable, redispatch_not_allowed, redispatch_limit409 conflictIntent ended, not unknown, redispatch pending, or limit hit.
count_limit_reached, approval_backlog_full409 exhaustedPolicy count or pending approvals used up.
effect_unknown409 pending_originalMaybe sent, so not cancellable. Observe or redispatch.
quota_exceeded429 exhaustedToken, policy or approver-token limit reached.
unavailable503 transientRetry with the same key and body. Also when secret custody is unconfigured.

Recovery

Persist idempotencyKey with the input before the first send, or inject an intent store for roye.intents.resume(). Never retry under a new key.

SituationWhat to do
Lost responseRead-only POST /v1/operations/recover with module actions, kind, target and the key, or the same body and key again (Roye-Replayed: true).
Lost secretReplays return secretStatus not_replayable. Delete or revoke the binding, or revoke the invoker or approver token, then create a new one under a new key.
Lost invokeGET /v1/actions/intents?idempotencyKey=, plus invokerId with a backend key. Empty means no intent.
Lost decisionRe-send, or recover approvals.decide (target approvalId) with the deciding credential.
CancellationOnly before the dispatch point, then effect_unknown.
Unknown outcomeA backend may redispatch (acknowledgeDuplicateRisk: true), one at a time, at most 2 per intent: same intent and key, new approval if the policy requires one.
recovery.http
# The create response was lost. Recover the original by key: read-only, never a second binding.
POST /v1/operations/recover
{ "module": "actions", "kind": "bindings.create", "target": {}, "idempotencyKey": "bind-orders-1" }
# 200 { "operationId": "op_…", "state": "succeeded", "result": { "status": 201, "resource": { "domain": "actions", "type": "binding", "id": "acb_…" } }, … }

# Re-sending the same body with the same key returns the stored original with Roye-Replayed: true,
# and no secret: it is gone after the first response.
POST /v1/actions/bindings
{ "idempotencyKey": "bind-orders-1", "connectorId": "https_webhook", "displayName": "orders", "endpointUrl": "https://hooks.example.com/roye" }
# 201 { "binding": { … }, "secretVersion": 1, "secretStatus": "not_replayable" }

# Next action: delete or revoke that binding, then create a new one under a new key.
POST /v1/actions/bindings/acb_…/delete
{ "idempotencyKey": "del-1", "expectedRevision": 1 }