NSX-T Data Center REST API
Destroy an authenticated session
Unauthenticates and makes the provided session cookie invalid. The set-cookie and x-xsrf-token headers obtained from an earlier call to /api/session/create should be provided in the HTTP headers of this request.Request:
Method:
POST
URI Path(s):
/api/session/destroy
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
set-cookie: JSESSIONID=57021338F5FDB766121F51BB5E1B82C3; Path=/; Secure; HttpOnly; SameSite=Lax x-xsrf-token: 8bf06253-c246-4e4b-a379-f218dd0a193cSuccessful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a