Skip to content

Latest commit

 

History

History
executable file
·
23 lines (18 loc) · 477 Bytes

USAGE.md

File metadata and controls

executable file
·
23 lines (18 loc) · 477 Bytes
import infisical
from infisical.models import operations, shared

s = infisical.Infisical(
    security=shared.Security(
        bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
    ),
)


req = operations.DeleteOrgMembershipsRequest(
    membership_id="corrupti",
    organization_id="provident",
)
    
res = s.organizations.delete_membership(req)

if res.membership is not None:
    # handle response