Remove user from organization
Start from the script setup block, then add the snippet code below.
# ... script setup ...
USER_ID = "your-user-id"
api_delete(f"/v1/organization/{ORGANIZATION_ID}/users/{USER_ID}")print(f"Removed user {USER_ID}")Start from the script setup block, then add the snippet code below.
# ... script setup ...
USER_ID = "your-user-id"
api_delete(f"/v1/organization/{ORGANIZATION_ID}/users/{USER_ID}")print(f"Removed user {USER_ID}")