instruction
stringlengths
81
221
input
stringlengths
50
1.19k
output
stringlengths
525
3.61k
Provide a Python example that uses the GET /api/v2/outbound/attemptlimits/{attemptLimitsId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get attempt limits
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/attemptlimits/{attemptLimitsId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update attempt limits
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/callabletimesets Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query callable time set list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/callabletimesets Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create callable time set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/callabletimesets/{callableTimeSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete callable time set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/callabletimesets/{callableTimeSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get callable time set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/callabletimesets/{callableTimeSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update callable time set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/callanalysisresponsesets Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of dialer call analysis response sets.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/callanalysisresponsesets Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a dialer call analysis response set.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a dialer call analysis response set.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a dialer call analysis response set.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/callanalysisresponsesets/{callAnalysisSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a dialer call analysis response set.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaignrules Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query Campaign Rule list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/campaignrules Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create Campaign Rule
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/campaignrules/{campaignRuleId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete Campaign Rule
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaignrules/{campaignRuleId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get Campaign Rule
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/campaignrules/{campaignRuleId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update Campaign Rule
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of dialer campaigns.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/campaigns Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a campaign.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/all Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query across all types of campaigns by division
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/all/divisionviews Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query across all types of campaigns
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/divisionviews Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of basic Campaign information objects. This returns a simplified version of a Campaign, consisting of name and division.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/divisionviews/{campaignId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a basic Campaign information object. This returns a simplified version of a Campaign, consisting of name and division.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/campaigns/progress Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get progress for a list of campaigns
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/campaigns/{campaignId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a campaign.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get dialer campaign.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PATCH /api/v2/outbound/campaigns/{campaignId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a campaign.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/campaigns/{campaignId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a campaign.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/campaigns/{campaignId}/agentownedmappingpreview Genesys Cloud Python SDK.
Genesys describes this as an API used to: Initiate request for a preview of how agents will be mapped to this campaign's contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId}/agentownedmappingpreview/results Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a preview of how agents will be mapped to this campaign's contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/campaigns/{campaignId}/agents/{userId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Send notification that an agent's state changed. New agent state.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId}/diagnostics Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get campaign diagnostics
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId}/interactions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get dialer campaign interactions.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId}/linedistribution Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get line distribution information for campaigns using same Edge Group or Site as given campaign
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/campaigns/{campaignId}/progress Genesys Cloud Python SDK.
Genesys describes this as an API used to: Reset campaign progress and recycle the campaign
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId}/progress Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get campaign progress
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId}/skillcombinations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the remaining and total contact count for each skill combination in a skills campaign
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/campaigns/{campaignId}/stats Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get statistics about a Dialer Campaign
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlistfilters Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query Contact list filters
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlistfilters Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create Contact List Filter
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlistfilters/bulk/retrieve Genesys Cloud Python SDK.
Genesys describes this as an API used to: Retrieve multiple contact list filters
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlistfilters/preview Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a preview of the output of a contact list filter
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/contactlistfilters/{contactListFilterId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete Contact List Filter
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlistfilters/{contactListFilterId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get Contact list filter
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/contactlistfilters/{contactListFilterId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update Contact List Filter
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/contactlists Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete multiple contact lists.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of contact lists.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a contact List.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/divisionviews Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of simplified contact list objects. This return a simplified version of contact lists, consisting of the name, division, column names, phone columns, import status, and size.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/divisionviews/{contactListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a basic ContactList information object. This returns a simplified version of a ContactList, consisting of the name, division, column names, phone columns, import status, and size.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/contactlists/{contactListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/{contactListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a dialer contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/contactlists/{contactListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists/{contactListId}/clear Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes all contacts out of a list. All outstanding recalls or rule-scheduled callbacks for non-preview campaigns configured with the contactlist will be cancelled.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/contactlists/{contactListId}/contacts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete contacts from a contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists/{contactListId}/contacts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add contacts to a contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists/{contactListId}/contacts/bulk Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get contacts from a contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get 10 most recent bulk operation jobs associated with contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/{contactListId}/contacts/bulk/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get bulk operation job.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists/{contactListId}/contacts/bulk/remove Genesys Cloud Python SDK.
Genesys describes this as an API used to: Start an async job to delete contacts using a filter.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists/{contactListId}/contacts/bulk/update Genesys Cloud Python SDK.
Genesys describes this as an API used to: Start an async job to bulk edit contacts.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists/{contactListId}/contacts/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query contacts from a contact list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/contactlists/{contactListId}/contacts/{contactId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a contact.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/{contactListId}/contacts/{contactId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a contact.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/contactlists/{contactListId}/contacts/{contactId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a contact.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/{contactListId}/export Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the URI of a contact list export.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlists/{contactListId}/export Genesys Cloud Python SDK.
Genesys describes this as an API used to: Initiate the export of a contact list. Returns 200 if received OK.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/{contactListId}/importstatus Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get dialer contactList import status.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlists/{contactListId}/timezonemappingpreview Genesys Cloud Python SDK.
Genesys describes this as an API used to: Preview the result of applying Automatic Time Zone Mapping to a contact list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/contactlisttemplates Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete multiple contact list templates.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlisttemplates Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of contact list templates
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlisttemplates Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create Contact List Template
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlisttemplates/bulk/add Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add multiple contact list templates
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/contactlisttemplates/bulk/retrieve Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get multiple contact list templates
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/contactlisttemplates/{contactListTemplateId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete Contact List Template
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/contactlisttemplates/{contactListTemplateId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get Contact List Template
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/contactlisttemplates/{contactListTemplateId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a contact list template.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/conversations/{conversationId}/dnc Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add phone numbers to a Dialer DNC list.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/digitalrulesets Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of Outbound Digital Rule Sets
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/digitalrulesets Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create an Outbound Digital Rule Set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/digitalrulesets/{digitalRuleSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete an Outbound Digital Rule Set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/digitalrulesets/{digitalRuleSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an Outbound Digital Rule Set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/digitalrulesets/{digitalRuleSetId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an Outbound Digital Rule Set
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/dnclists Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query dialer DNC lists
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/dnclists Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create dialer DNC list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/dnclists/divisionviews Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query a list of simplified dnc list objects. This return a simplified version of dnc lists, consisting of the name, division, import status, and size.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/dnclists/divisionviews/{dncListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a basic DncList information object. This returns a simplified version of a DncList, consisting of the name, division, import status, and size.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/dnclists/{dncListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete dialer DNC list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/dnclists/{dncListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get dialer DNC list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/outbound/dnclists/{dncListId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update dialer DNC list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes all or expired custom exclusion column entries from a DNC list. This operation is only for Internal DNC lists of custom exclusion column entries
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PATCH /api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add entries to or delete entries from a DNC list. Only Internal DNC lists may be deleted from
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/dnclists/{dncListId}/emailaddresses Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes all or expired email addresses from a DNC list. This operation is Only for Internal DNC lists of email addresses
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PATCH /api/v2/outbound/dnclists/{dncListId}/emailaddresses Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add emails to or Delete emails from a DNC list. Only Internal DNC lists may be added to or deleted from
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/dnclists/{dncListId}/emailaddresses Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add email addresses to a DNC list. Only Internal DNC lists may be appended to
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/dnclists/{dncListId}/export Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the URI of a DNC list export.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/outbound/dnclists/{dncListId}/export Genesys Cloud Python SDK.
Genesys describes this as an API used to: Initiate the export of a dnc list. Returns 200 if received OK.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/outbound/dnclists/{dncListId}/importstatus Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get dialer dncList import status.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/outbound/dnclists/{dncListId}/phonenumbers Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes all or expired phone numbers from a DNC list. This operation is Only for Internal DNC lists of phone numbers
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PATCH /api/v2/outbound/dnclists/{dncListId}/phonenumbers Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add numbers to or delete numbers from a DNC list. Only Internal DNC lists may be added to deleted from
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...