🎉 Portkey raises Series A - $15M to build AI that never breaks  Read announcement →
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Delete user from workspace
result = portkey.admin.workspaces.users.delete(
workspace_id='WORKSPACE_SLUG',
user_id='USER_ID'
)
# Print the result (if any)
print(result){}from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Delete user from workspace
result = portkey.admin.workspaces.users.delete(
workspace_id='WORKSPACE_SLUG',
user_id='USER_ID'
)
# Print the result (if any)
print(result){}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-log-export-guide-1773064217.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?