Api::V1::CommentAttachmentsController API

should delete an existing comment attachment

DELETE /api/v1/comments/:comment_id/attachments/:id

Request

Headers

Accept: application/json
X-Api-Token: sqpmesC2jmcYZD7X9jt3GxncBk9oZPU8CQ
X-Api-Email: user-713@example.com

Route

DELETE /api/v1/comments/86/attachments/3

Body

{}

cURL

curl "http://localhost:3000/api/v1/comments/86/attachments/3" -d '{}' -X DELETE \
	-H "Accept: application/json" \
	-H "X-Api-Token: sqpmesC2jmcYZD7X9jt3GxncBk9oZPU8CQ" \
	-H "X-Api-Email: user-713@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Status

204 No Content