Delete a scorecard attachment
DELETE/v1/scorecards/:id/attachments/:attachment_id
Removes a file from a scorecard's feedback or from one of its answers.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Attachment deleted
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to edit this scorecard, or the API key lacks the scorecards:write scope (err_insufficient_scope).
Scorecard or attachment not found (err_scorecard_not_found, err_attachment_not_found).
Validation failed. Error codes:
err_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action