Remove User From Project
organizations.users.remove_from_project(strproject_id, UserRemoveFromProjectParams**kwargs) -> object
DELETE/api/v1/organizations/{organization_id}/users/{user_id}/projects/{project_id}
Remove User From Project
import os
from llama_cloud_admin import LlamaCloudAdmin
client = LlamaCloudAdmin(
api_key=os.environ.get("LLAMA_CLOUD_API_KEY"), # This is the default and can be omitted
)
response = client.organizations.users.remove_from_project(
project_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
organization_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
user_id="user_id",
)
print(response){}Returns Examples
{}