Skip to main content
PATCH
cURL
Update current identity or archive/restore a borrower with its ETag. Archive requires every associated origination to be terminal and every associated monitor to be stopped. Historical results and evidence remain immutable; archival does not revoke consent or delete records. No automatic deletion/retention period is implied. New intake is rejected until restored. Required scope: borrowers:write. Archiving cancels outstanding Hub sessions and fences pending source ingestion; restoration requires a fresh Hub session and explicit product resumption. PATCH uses ETag concurrency, not a command-replay receipt. Examples use synthetic IDs. Replace them with values returned by your environment.

Operation name

updateBorrower The X-Amlok-Operation-Id response header identifies this endpoint. Request receipts apply to accepted POST commands.

Authorizations

Authorization
string
header
required

Server-to-server API key bound to exactly one workspace, institution tenant and environment. No caller-supplied workspace override is accepted. Do not use in public browser code.

Headers

If-Match
string
required

Required current ETag from the borrower. Stale versions return 412. PATCH uses optimistic concurrency; Idempotency-Key does not create a replay receipt.

Minimum string length: 1

Path Parameters

id
string
required

id

Minimum string length: 1

Body

application/json
profile
Business borrower · object

Full replacement identity profile. Type and stable client_reference cannot change. Omitted client_reference retains its current value.

lifecycle_status
enum<string>
Available options:
active,
archived

Response

Successful response.

data
object
required
meta
object
required