cyphermed.api.projects.patch_project_access

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

Patch Project Access

Patch project access

Args: project_id (str): grantee_id (str): body (PatchProjectAccessBody): Which ProjectAccess fields to include in POST 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.patch_project_access_body.PatchProjectAccessBody) -> Optional[cyphermed.models.success.Success]:

Patch Project Access

Patch project access

Args: project_id (str): grantee_id (str): body (PatchProjectAccessBody): Which ProjectAccess fields to include in POST 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.patch_project_access_body.PatchProjectAccessBody) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Patch Project Access

Patch project access

Args: project_id (str): grantee_id (str): body (PatchProjectAccessBody): Which ProjectAccess fields to include in POST 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.patch_project_access_body.PatchProjectAccessBody) -> Optional[cyphermed.models.success.Success]:

Patch Project Access

Patch project access

Args: project_id (str): grantee_id (str): body (PatchProjectAccessBody): Which ProjectAccess fields to include in POST 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