最近搜索
没有最近搜索
API Reference Errata
已于 2022年10月12日 发布
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 条评论
James Rodewig
Thanks for letting us know about this, Dylan. I'll get the documentation fixed shortly.
1
James Rodewig
Thanks again, Dylan. We've updated the docs to fix the error: https://developer.zendesk.com/api-reference/ticketing/account-configuration/sessions/#bulk-delete-sessions
1
Dylan McKinney
Thanks for the quick response! It looks correct now.
0