Skip to content

GroupCallCenterAgentThresholdProfileDeleteAgentListRequest

Bases: OCIRequest

Delete agent(s) from a Agent Threshold Profile. Agents cannot be unassigned (deleted) directly from the default profile, they need to be assigned (added) to a different profile. The response is either SuccessResponse or ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):

profile_name (str):

agent_user_id (List[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterAgentThresholdProfileDeleteAgentListRequest(OCIRequest):
    """Delete agent(s) from a Agent Threshold Profile.
        Agents cannot be unassigned (deleted) directly from the default profile, they need to be assigned (added) to a different profile.
        The response is either SuccessResponse or ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

        profile_name (str):

        agent_user_id (List[str]):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

    profile_name: str = field(metadata={"alias": "profileName"})

    agent_user_id: List[str] = field(metadata={"alias": "agentUserId"})

Responses

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class SuccessResponse(OCIResponse):
    pass

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import GroupCallCenterAgentThresholdProfileDeleteAgentListRequest

client = Client()

command = GroupCallCenterAgentThresholdProfileDeleteAgentListRequest(
    service_provider_id=...,
    group_id=...,
    profile_name=...,
    agent_user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("GroupCallCenterAgentThresholdProfileDeleteAgentListRequest",
    service_provider_id=...,
    group_id=...,
    profile_name=...,
    agent_user_id=...,
)

print(response)