POST
/api/v1/attachments:batchDeleteDelete attachments in a batch
Deletes multiple attachments in one request. Provide their resource names in the required names array. The operation removes each attachment identified in that array.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Batch deletion request containing the attachment names to delete.
namesarray<string>required
Array of attachment resource names to delete.
200Confirms that the batch delete request completed.
defaultReturned when the request fails; includes an error code, a developer-facing message, and optional structured details.
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.
Error handling
names is required and must contain the attachment resource names to delete.
