Serena Agile Web Services API → Authentication → Logoff
This method ends an authenticated Web services session, causing the authentication token to expire. It should be called after a web services session. The the Logoff method takes no parameters.
If the Logoff method is not called, the authentication token will expire after the first 20 minute interval of non-use.
XML request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:agil="http://serena.com/Agile"> <soapenv:Header/> <soapenv:Body> <agil:Logoff>agil:token>509b-4743-a0f4-1c74de64d2caAGILE_database</agil:token> </agil:Logoff> </soapenv:Body> </soapenv:Envelope>
XML response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <LogoffResponse xmlns="http://serena.com/Agile"/> </soap:Body> </soap:Envelope>