Remove an attachment from every copy of a record
DELETE/api/v1/anchor-groups/:anchorGroupId/shared-credentialing-workflows/:id/sections/:section/:credentialingDisplayGroupKey/attachments
Removes the attachment version named by fileUrl from every copy of the record held by a member workflow that is not locked; locked workflows keep theirs, and the file itself is kept. Needs credentialing-workflow:details:create, details:update, details:delete and details:attachments:delete on every member tenant.
Request
Responses
- 200
- 400
- 403
- 404
- 409
Removed, or already removed: when no copy of the record holds that fileUrl (the same remove received twice), nothing is written and no tenant is listed
INVALID_REQUEST: a section whose records carry no attachments, no expectedTenantIds or no fileUrl
The permission is missing on a member tenant
No such shared workflow, or a member tenant the caller has no read on (all-tenant authority)
STALE_RECORD (the record's holders no longer match expectedTenantIds), WORKFLOW_CONFLICT, or ATTACHMENT_DELETE_BLOCKED: an attachment the tenant attachment delete won't remove either (the shared State Medicaid Exclusion List PDF); nothing was changed