API referenceAudit

POST /audit/holds

POST
/audit/holds

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/audit/holds" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "reason": "string"  }'
{  "$schema": "https://example.com/schemas/LedgerHold.json",  "agentId": "string",  "createdAt": "2019-08-24T14:15:22Z",  "createdBy": "string",  "from": "2019-08-24T14:15:22Z",  "id": "string",  "name": "string",  "reason": "string",  "releasedAt": "2019-08-24T14:15:22Z",  "state": "string",  "to": "2019-08-24T14:15:22Z"}