[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Logout User

Description

Log out from IDP, return the provider logout url.

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/auth/v1/logout
Copy

Request Body

Request Body

LogoutRequest of mimetype application/json Required

logoutRequest

{
    "idpTenantDomain": "abccompany",
    "postLogoutUri": "redirect-uri",
    "refreshToken": "oiuoidaspdp-sad!sdr"
}
string
idpTenantDomain Optional

IDP tenant domain/Tenant Alias


string
postLogoutUri Optional

url to redirect to after logout


string
refreshToken Optional

refreshToken

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns LogoutUrl of type */*
{
    "logoutUrl": "https://login.microsoft.com/logout"
}
string
logoutUrl Optional

IAM logout URL

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"idpTenantDomain":"abccompany","postLogoutUri":"redirect-uri","refreshToken":"oiuoidaspdp-sad!sdr"}' https://cloud.vmwarehorizon.com/auth/v1/logout
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: logoutRequest


Feedback

Was this page helpful?