POST
/
v1
/
oauth2
/
revoke
from polar_sdk import Polar


with Polar() as polar:

    res = polar.oauth2.revoke(request={
        "token": "<value>",
        "client_id": "<id>",
        "client_secret": "<value>",
    })

    # Handle response
    print(res)
{}

Body

application/x-www-form-urlencoded

Response

200 - application/json

Successful Response

The response is of type object.