cyphermed.api.projects.create_project_access

def sync_detailed( project_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_project_access_body.CreateProjectAccessBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Create Project Access

Add access for a project

Args: project_id (str): grantee_id (str): body (CreateProjectAccessBody): Which ProjectAccess fields to include in PATCH request bodies

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[Success]

def sync( project_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_project_access_body.CreateProjectAccessBody) -> Optional[cyphermed.models.success.Success]:

Create Project Access

Add access for a project

Args: project_id (str): grantee_id (str): body (CreateProjectAccessBody): Which ProjectAccess fields to include in PATCH request bodies

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Success

async def asyncio_detailed( project_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_project_access_body.CreateProjectAccessBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Create Project Access

Add access for a project

Args: project_id (str): grantee_id (str): body (CreateProjectAccessBody): Which ProjectAccess fields to include in PATCH request bodies

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[Success]

async def asyncio( project_id: str, grantee_id: str, *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.create_project_access_body.CreateProjectAccessBody) -> Optional[cyphermed.models.success.Success]:

Create Project Access

Add access for a project

Args: project_id (str): grantee_id (str): body (CreateProjectAccessBody): Which ProjectAccess fields to include in PATCH request bodies

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Success