Delete a special page
Deletes a special page. This is a soft delete: the page is marked inactive (is_active: false) and its pretty URL is removed, but the record stays in the database and is still returned by the list and retrieve operations.
Warning: A page that still has a pretty URL cannot be deleted directly — the request is rejected with
406and the page stays active. Deactivate the page first with a partial update ({"is_active": false}), then send theDELETErequest.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the special page.
The special page was deleted. No content is returned.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No special page exists with the given identifier.
The page still has a pretty URL and cannot be deleted directly; the page stays active. Deactivate it first with a partial update ({"is_active": false}) and repeat the DELETE request. The response carries only a message, without an error_code.
DELETE /api/v1/remote/1/special_pages/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

