EnterpriseCallCenterAgentThresholdProfileDeleteRequest
Bases: OCIRequest
Deletes an existing Call Center Agent Threshold Profile in an Enterprise. The default profile cannot be deleted. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
profile_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class EnterpriseCallCenterAgentThresholdProfileDeleteRequest(OCIRequest):
"""Deletes an existing Call Center Agent Threshold Profile in an Enterprise.
The default profile cannot be deleted.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
profile_name (str):
"""
service_provider_id: str = field(metadata={"alias": "serviceProviderId"})
profile_name: str = field(metadata={"alias": "profileName"})
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import EnterpriseCallCenterAgentThresholdProfileDeleteRequest
client = Client()
command = EnterpriseCallCenterAgentThresholdProfileDeleteRequest(
service_provider_id=...,
profile_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("EnterpriseCallCenterAgentThresholdProfileDeleteRequest",
service_provider_id=...,
profile_name=...,
)
print(response)