Recent searches


No recent searches

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

image avatar

James Rodewig

Zendesk Documentation Team

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

1


image avatar

James Rodewig

Zendesk Documentation Team

1


Thanks for the quick response! It looks correct now.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post