Delete Attachment from IC Request Custom Field
DELETE/v1/ic-requests/:id/custom-fields/:fieldId/attachments/:fileId
Removes a file from an IC request field of type attachment. The file is also deleted from storage. Fields in the Decision group (the IC Decision dropdown, Signed IC Resolution and any field the organization adds to that group) can be set or changed only by an IC secretary or Carta staff; anyone else gets 403 IC_DECISION_GROUP_FORBIDDEN. A value equal to the field's default counts as unset.
Request
Responses
- 200
- 400
- 401
- 403
- 404
File deleted successfully
Unknown or non-attachment field
Invalid or missing API key
IC requests are not enabled for this organization, or the API key is read-only, or the caller may not edit the Decision group (IC_DECISION_GROUP_FORBIDDEN)
IC request or attachment not found