// This file is autogenerated, DO NOT EDIT
// rest-api/security/invalidate-tokens.asciidoc:216

[source, python]
----
resp = client.security.invalidate_token(
    username="myuser",
    realm_name="saml1",
)
print(resp)
----
