Page tree

Logs out the current user.

Endpoint

https://<Director_IP_address>:4443/c/router

Request Example

curl
curl --request POST \
	--url https://<Director_IP_address>:4443/c/router \
	--header "content-type: application/json" \
	--cookie @cookies.txt \
	--data "{
		"action": "AuthenticationManagement",
		"method": "logoutCurrentUser",
		"type": "rpc",
		"tid": 1}"

Request Fields

Field
Type
Value(s)
Description
actionstring
AuthenticationManagement
The action that is invoked
methodstring
logoutCurrentUser
The method that is invoked
typestring
rpc
Type of communication protocol
tidinteger
1
Transaction ID. Used to identify the request by both the client and the server

Response Sample

{
	"action": "AuthenticationManagement",
	"method": "logoutCurrentUser",
	"tid": "1",
	"type": "rpc",
	"message": null,
	"where": null,
	"cause": null,
	"data": null
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where a problem occurred
causestringCause of failure
datanull



  • No labels