Closing Web Messaging session via backend API?

Docs state: “The Web Messaging Guest API allows programmatic control over the guest session.” Trying to close a session from our backend service by calling the API to close the session. Getting 404 Not Found. The guest and session IDs are valid, confirmed via GET calls. Am I hitting the wrong endpoint or is this action restricted to the client SDK?