Ends this browser's login session; the Portal may name its redirect URI as post_logout_redirect_uri.
POST
/oauth/logout
const url = 'https://api.contentsurface.io/oauth/logout';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.contentsurface.io/oauth/logoutEnds this browser’s sign-in session at the tenant address, so the next authorization asks to sign in again; with post_logout_redirect_uri, one of the client’s redirect URIs, the browser goes there. It does not revoke tokens already issued: POST /v1/me/sign-out-everywhere does.
Responses
Section titled “Responses”OK