DELETE - /api/v1/page_templates/reset_to_defaults - Deleting
DELETE /api/v1/page_templates/reset_to_defaults
Parameters
| Name |
Description |
|
name
|
boolean
|
|
body
|
link text
|
|
is_published
|
link target
|
Request
Headers
Route
DELETE /api/v1/page_templates/reset_to_defaults
Body
{"name":"partials/footer","body":"\u003cfooter\u003ea footer\u003c/footer\u003e","is_published":true}
cURL
curl "http://localhost:3000/api/v1/page_templates/reset_to_defaults" -d '{"name":"partials/footer","body":"\u003cfooter\u003ea footer\u003c/footer\u003e","is_published":true}' -X DELETE \
-H "Accept: application/json" \
-H "X-Api-Token: ixxrmzHxAj_kAHAyhbs-ASgmJCMNs1SdYQ" \
-H "X-Api-Email: user-700@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Status
204 No Content