API Reference Errata



Posted Oct 12, 2022

The documentation for the Bulk Delete Sessions endpoint lists the HTTP method as GET when it should be DELETE:

GET /api/v2/users/{user_id}/sessions


As done in the Using curl portion of the documentation, the -X DELETE argument indicates the DELETE HTTP method is to be used:

curl https://{subdomain}.zendesk.com/api/v2/users/{user_id}/sessions.json \  -v -u {email_address}:{password} -X DELETE

0

3

3 comments

      Thanks for the quick response! It looks correct now.

      0


      Thanks for letting us know about this, Dylan. I'll get the documentation fixed shortly.

      1


      Sign in to leave a comment.

      Didn't find what you're looking for?

      New post