Documents
Update asset
Updates an asset using JSON Patch operations
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuiddocumentId*string
Format
uuidassetId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
[index: integer]?
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '[ { "op": "add", "path": "string" } ]'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "format": "html", "language": "string", "body": "string", "file": { "bucket": "string", "key": "string", "size": 0, "fileName": "string", "contentType": "string", "etag": "string", "sha256": "string" }, "version": 0, "dateCreated": 0, "dateUpdated": 0}