cURL
curl --request POST \ --url https://api.hubapi.com/cms/v3/pages/site-pages/{objectId}/draft/reset \ --header 'Authorization: Bearer <token>'
This response has no body data.
Discards any edits and resets the draft to the live version.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The id of the Site Page for which it's draft will be reset.
Was this page helpful?