Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Remove open data changesets - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Remove open data changesets
KB0854242

Remove open data changesets


364 Views Last updated : Sep 15, 2023 public Copy Permalink
KB Summary by Now Assist

This endpoint allows to mass delete open data changesets based upon their creation date.

Alert iconWarning: You cannot UNDO this action. Use it with care!

Endpoint

method
DELETE
URI
/api/v1/data/changeset

Headers

!
Authorization
Bearer <userToken or APIkey>

Parameters


allowDeleteOfContent
false | true
default is false (empty changesets only will be deleted). Defines if only changesets without any content should be deleted, or also ones with content

to
2020-05-15
default is the current date. All data changesets up to and including this date will be removed.

userSpecific
false | true
default is true (means only changesets created by the userToken are removed). in case the API call should delete changesets for other users then this argument should be set to false

As none of the parameters are mandatory, in case only the URI is provided with the method, all empty data changesets created by the user which launches the API call will be removed. 

Response

The response is a JSON object of all node changes.

In case of insufficient permissions, the response object will contain a {"AccessDeniedException"} message

example cURL

curl -X DELETE 'https://demo.sweagle.com/api/v1/data/changeset?allowDeleteOfContent=true&to=2020-05-20' -H "Authorization: bearer Xeb940d3-ea37-4766-bb6c-f0b83deafb6f" 

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.