Delete Custom Code

Remove all scripts from a page applied by the App. This endpoint will not remove scripts from the site’s registered scripts.

To remove individual scripts applied by the App, use the Add/Update Custom Code endpoint.

Access to this endpoint requires a bearer token obtained from an OAuth Code Grant Flow.

Required scope | custom_code:write

Path parameters

page_idstringRequiredformat: "objectid"
Unique identifier for a Page

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Request was successful. No Content is returned.

Errors