Page Templates API

DELETE - /api/v1/page_templates/:name - Deleting

DELETE /api/v1/page_templates/:name

Parameters

Name Description
name boolean
body link text
is_published link target

Request

Headers

Accept: application/json
X-Api-Token: DGwS9vwEk8EiKdRfNdJqYvS5ScEcbqyDyg
X-Api-Email: user-698@example.com

Route

DELETE /api/v1/page_templates/partials/footer

Body

{"body":"\u003cfooter\u003ea footer\u003c/footer\u003e","is_published":true}

cURL

curl "http://localhost:3000/api/v1/page_templates/partials/footer" -d '{"body":"\u003cfooter\u003ea footer\u003c/footer\u003e","is_published":true}' -X DELETE \
	-H "Accept: application/json" \
	-H "X-Api-Token: DGwS9vwEk8EiKdRfNdJqYvS5ScEcbqyDyg" \
	-H "X-Api-Email: user-698@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Status

204 No Content