Signing-out customers (deprecated)

Sometimes you will find yourself needing to log your customer out. Here is a small example of how to do so.

To invalidate the session make an HTTP Delete request to https://customers.prepr.io/customers/sign_out with the Personal Access Token as the Authentication Bearer header.

If the session is destroyed, the API will reply with a 204 No Content status code.