Revoke an authorization
Your application should always allow users to revoke authorization granted to your API key. The user can also revoke your application from their profile on Dailymotion, but it’s far less user-friendly than having a simple Logout from Dailymotion button in your interface.
To revoke authorization, perform a GET request to the /logout
URI with the Authorization
header (or access_token
query parameter). Read the using an access token section for more details. Once done, your current session (access token and/or refresh token) are no longer valid and you can forget about them in your application.