API Reference Errata
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
-
Thanks for letting us know about this, Dylan. I'll get the documentation fixed shortly.
-
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
-
Thanks for the quick response! It looks correct now.
댓글을 남기려면 로그인하세요.
3 댓글