PUT
/
v1
/
oauth2
/
register
/
{client_id}
from polar_sdk import Polar


with Polar(
    access_token="<YOUR_BEARER_TOKEN_HERE>",
) as polar:

    res = polar.oauth2.clients.update(client_id="<id>", o_auth2_client_configuration_update={
        "redirect_uris": [
            "https://classic-cantaloupe.org",
            "https://corrupt-status.biz/",
        ],
        "client_name": "<value>",
        "client_id": "<id>",
    })

    # Handle response
    print(res)
"<any>"

Authorizations

Authorization
string
header
required

You can generate an Organization Access Token from your organization's settings.

Path Parameters

client_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type any.