Permanently delete selected archived rows.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/entity/example/instances/bulk/delete"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"OperationKey\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"Rows\": [ { \"InstanceId\": \"example\", \"RowVersion\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"InputOrdinal\": 1, \"CallerCorrelation\": \"example\" } ], \"Reason\": \"example\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/entity/example/instances/bulk/delete';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"OperationKey":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","Rows":[{"InstanceId":"example","RowVersion":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","InputOrdinal":1,"CallerCorrelation":"example"}],"Reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/entity/example/instances/bulk/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Rows": [ { "InstanceId": "example", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "InputOrdinal": 1, "CallerCorrelation": "example" } ], "Reason": "example" }'Requires one Reason of 1–1000 characters after trimming; it is stored with each row’s lifecycle audit
evidence. A missing or over-long reason rejects the whole request before any row changes.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Selected runtime entity instances for a bulk lifecycle operation.
object
Stable caller key used to derive replay-safe per-row operation keys.
Explicitly selected rows. Bulk operations never imply “all matching query”.
One selected runtime entity instance in a bulk action request.
object
Selected entity instance identifier.
Expected runtime row version when the operation mutates the row.
Caller-provided input position used for safe per-item correlation.
Optional caller-provided opaque correlation value.
Required audit reason shared by every selected row. Must contain 1–1000 characters after trimming leading and trailing whitespace; it is stored with each row’s archive, restore or permanent delete.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Rows": [ { "InstanceId": "example", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "InputOrdinal": 1, "CallerCorrelation": "example" } ], "Reason": "example"}Selected runtime entity instances for a bulk lifecycle operation.
object
Stable caller key used to derive replay-safe per-row operation keys.
Explicitly selected rows. Bulk operations never imply “all matching query”.
One selected runtime entity instance in a bulk action request.
object
Selected entity instance identifier.
Expected runtime row version when the operation mutates the row.
Caller-provided input position used for safe per-item correlation.
Optional caller-provided opaque correlation value.
Required audit reason shared by every selected row. Must contain 1–1000 characters after trimming leading and trailing whitespace; it is stored with each row’s archive, restore or permanent delete.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Rows": [ { "InstanceId": "example", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "InputOrdinal": 1, "CallerCorrelation": "example" } ], "Reason": "example"}Selected runtime entity instances for a bulk lifecycle operation.
object
Stable caller key used to derive replay-safe per-row operation keys.
Explicitly selected rows. Bulk operations never imply “all matching query”.
One selected runtime entity instance in a bulk action request.
object
Selected entity instance identifier.
Expected runtime row version when the operation mutates the row.
Caller-provided input position used for safe per-item correlation.
Optional caller-provided opaque correlation value.
Required audit reason shared by every selected row. Must contain 1–1000 characters after trimming leading and trailing whitespace; it is stored with each row’s archive, restore or permanent delete.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Rows": [ { "InstanceId": "example", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "InputOrdinal": 1, "CallerCorrelation": "example" } ], "Reason": "example"}Responses
Section titled “Responses”OK
object
object
object
object
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
object
Example
{ "Data": { "Items": [ { "Kind": "AuthorizedEntityIdentity" } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
object
object
object
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
object
Example
{ "Data": { "Items": [ { "Kind": "AuthorizedEntityIdentity" } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
object
object
object
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
object
Example
{ "Data": { "Items": [ { "Kind": "AuthorizedEntityIdentity" } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
object
object
object
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
object
Example
{ "Data": { "Items": [ { "Kind": "AuthorizedEntityIdentity" } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}