API referenceAudit
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"}agentId?string
Length
length <= 256from?string
Format
date-timename*string
Length
1 <= length <= 200reason*string
Length
1 <= length <= 2000to?string
Format
date-time