cURL
curl --request POST \ --url https://api.example.com/api/user/logout
{}
The response is of type object.
object