Logout
Logs out the VCO API user and invalidates the session cookie.
Request
URI
POST
https://{api_host}/portal/rest/logout
COPY
Responses
200
If you are using an HTTP client that is configured to automatically follow HTTP redirects (e.g. Postman), a successful logout request will cause your client to follow an HTTP 302 redirect to the portal login web page.
Operation doesn't return any data structure
302
An HTTP 302 (redirect) response is returned on both successful and failed logout attempts.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/portal/rest/logout