This method logs a user out of the Truveo video search service.
The URL for this method accepts the following parameters:
|
appid
|
String value. Required.
The Application ID, which is a unique identifier, assigned by Truveo, for your application. To view your current Application ID or request a new one, please consult your My API Account page.
|
|
method
|
String value. Required.
The name of the method to invoke. In this case, the value of this argument should be set to 'truveo.users.logout'.
|
|
logout_callback_url
|
String value. Required.
This is the URL to which the user's browser is
redirected upon completion of the logout process. For more details on how to properly use this URL, please refer to the
authentication spec.
|
The XML response for this method can contain the following fields:
| This method does not return any response fields. |
A sample REST-style request for this method can be constructed as follows:
http://xml.truveo.com/apiv3
?appid=[myAppId]
&method=truveo.users.logout
&logout_callback_url=http%3A%2F%2Fwww.truveo.com
Errors
If execution of this method is not successful, the following error codes can be returned:
|
1
|
Invalid request: 'appid'
An application ID was not submitted with the request.
|
|
2
|
Invalid request: 'method'
A method was not submitted with the request.
|
|
102
|
Invalid request: 'logout_callback_url'
The logout_callback_url parameter was not submitted with the request.
|
|
12
|
Service Unavailable
Truveo Video Search API service unavailable.
|
|
13
|
Method not found.
The method you submitted with the request was not valid.
|
|
14
|
Access Denied: invalid appid.
The application ID submitted with the request is invalid.
|
|
15
|
Access Denied: appid over limit.
The application ID submitted with the request is over the daily request limit.
|