Delete a benefit.
[!WARNING] Every grants associated with the benefit will be revoked. Users will lose access to the benefit.
Scopes: benefits:write
benefits:write
Python
from polar_sdk import Polar with Polar( access_token="<YOUR_BEARER_TOKEN_HERE>", ) as polar: polar.benefits.delete(id="<value>") # Use the SDK ...
{ "error": "<string>", "detail": "<string>" }
You can generate an Organization Access Token from your organization's settings.
The benefit ID.
Benefit deleted.
Was this page helpful?