Rensei docs
API ReferenceNotifications

Replace or revoke an installation binding with proof rotation.

Replacement binds to the authenticated human; revocation additionally requires current ownership. Persist the operation identifier and next proof securely before sending. Exact retries reconcile; stale operations conflict. No session authority is granted.

PATCH
/api/cli/live-activities/bindings/{id}

Authorization

headerAuthorizationBearer <WorkOS user access token>

WorkOS user access token created by the Rensei CLI. The authenticated organization is resolved from membership and may be narrowed with X-Rensei-Org.

Path Parameters

id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Request Body

application/json
  1. body
kind*string
Value in"replace""revoke"
operationId*string
Match^[a-zA-Z0-9_-]{8,128}$
currentProof*string
Match^[a-fA-F0-9]{64}$
nextProof*string
Match^[a-fA-F0-9]{64}$

Response Body

Minimal binding receipt.

application/json
  1. response
id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
revision*integer
Range1 <= value <= 9007199254740991
replayed*boolean
Example Request
curl -X PATCH 'https://app.rensei.ai/api/cli/live-activities/bindings/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{  "kind": "replace",  "operationId": "string",  "currentProof": "string",  "nextProof": "string"}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "revision": 1,  "replayed": true}