instruction stringlengths 81 221 | input stringlengths 50 1.19k | output stringlengths 525 3.61k |
|---|---|---|
Provide a Python example that uses the POST /api/v2/telephony/providers/edges/sites/{siteId}/outboundroutes Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create outbound route | ```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/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete Outbound Route | ```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/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get an outbound route | ```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/telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update outbound route | ```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/telephony/providers/edges/sites/{siteId}/siteconnections Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get site connections for a site. | ```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/telephony/providers/edges/sites/{siteId}/siteconnections Genesys Cloud Python SDK. | Genesys describes this as an API used to: Disable site connections for a site. | ```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/telephony/providers/edges/sites/{siteId}/siteconnections Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update site connections for a site. | ```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/telephony/providers/edges/timezones Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of Edge-compatible time zones | ```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/telephony/providers/edges/trunkbasesettings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get Trunk Base Settings listing. Managed properties will not be returned unless the user is assigned the internal:trunk:edit permission. | ```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/telephony/providers/edges/trunkbasesettings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a Trunk Base Settings object | ```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/telephony/providers/edges/trunkbasesettings/availablemetabases Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of available makes and models to create a new Trunk Base Settings | ```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/telephony/providers/edges/trunkbasesettings/template Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a Trunk Base Settings instance template from a given make and model. This object can then be modified and saved as a new Trunk Base Settings instance | ```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/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a Trunk Base Settings object by ID | ```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/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a Trunk Base Settings object by ID. Managed properties will not be returned unless the user is assigned the internal:trunk:edit permission. | ```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/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a Trunk Base Settings object by ID | ```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/telephony/providers/edges/trunks Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the list of available trunks. Trunks are created by assigning trunk base settings to an Edge or Edge Group. | ```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/telephony/providers/edges/trunks/metrics Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the metrics for a list of trunks. | ```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/telephony/providers/edges/trunks/{trunkId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a Trunk by ID | ```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/telephony/providers/edges/trunks/{trunkId}/metrics Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the trunk metrics. | ```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/telephony/providers/edges/trunkswithrecording Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get Counts of trunks that have recording disabled or enabled | ```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/telephony/providers/edges/{edgeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a edge. | ```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/telephony/providers/edges/{edgeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get edge. | ```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/telephony/providers/edges/{edgeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a edge. | ```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/telephony/providers/edges/{edgeId}/diagnostic/nslookup Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/diagnostic/nslookup Genesys Cloud Python SDK. | Genesys describes this as an API used to: Nslookup request command to collect networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/diagnostic/ping Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/diagnostic/ping Genesys Cloud Python SDK. | Genesys describes this as an API used to: Ping Request command to collect networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/diagnostic/route Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/diagnostic/route Genesys Cloud Python SDK. | Genesys describes this as an API used to: Route request command to collect networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/diagnostic/tracepath Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/diagnostic/tracepath Genesys Cloud Python SDK. | Genesys describes this as an API used to: Tracepath request command to collect networking-related information from an Edge for a target IP or host. | ```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/telephony/providers/edges/{edgeId}/logicalinterfaces Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get edge logical interfaces. Retrieve a list of all configured logical interfaces from a specific edge. | ```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/telephony/providers/edges/{edgeId}/logicalinterfaces Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create an edge logical interface. Create | ```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/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete an edge logical interface | ```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/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get an edge logical interface | ```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/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update an edge logical interface. | ```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/telephony/providers/edges/{edgeId}/logs/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a job to upload a list of Edge logs. | ```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/telephony/providers/edges/{edgeId}/logs/jobs/{jobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get an Edge logs 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/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}/upload Genesys Cloud Python SDK. | Genesys describes this as an API used to: Request that the specified fileIds be uploaded from the Edge. | ```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/telephony/providers/edges/{edgeId}/metrics Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the edge metrics. | ```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/telephony/providers/edges/{edgeId}/physicalinterfaces Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a list of all configured physical interfaces from a specific edge. | ```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/telephony/providers/edges/{edgeId}/physicalinterfaces/{interfaceId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get edge physical interface. Retrieve a physical interface from a specific edge. | ```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/telephony/providers/edges/{edgeId}/reboot Genesys Cloud Python SDK. | Genesys describes this as an API used to: Reboot an Edge | ```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/telephony/providers/edges/{edgeId}/setuppackage Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the setup package for a locally deployed edge device. This is needed to complete the setup process for the virtual edge. | ```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/telephony/providers/edges/{edgeId}/softwareupdate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Cancels any in-progress update for this edge. | ```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/telephony/providers/edges/{edgeId}/softwareupdate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets software update status information about any edge. | ```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/telephony/providers/edges/{edgeId}/softwareupdate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Starts a software update for this edge. | ```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/telephony/providers/edges/{edgeId}/softwareversions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets all the available software versions for this edge. | ```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/telephony/providers/edges/{edgeId}/statuscode Genesys Cloud Python SDK. | Genesys describes this as an API used to: Take an Edge in or out of service | ```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/telephony/providers/edges/{edgeId}/trunks Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the list of available trunks for the given Edge. Trunks are created by assigning trunk base settings to an Edge or Edge Group. | ```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/telephony/providers/edges/{edgeId}/unpair Genesys Cloud Python SDK. | Genesys describes this as an API used to: Unpair an Edge | ```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/textbots/botflows/sessions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create an execution instance of a bot flow definition. The launch is asynchronous; use the returned instance ID to post turns to it using 'POST /api/v2/textbots/botflows/sessions/{sessionId}/turns'. | ```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/textbots/botflows/sessions/{sessionId}/turns Genesys Cloud Python SDK. | Genesys describes this as an API used to: Issue a bot flow turn event. Send a turn event to an executing bot flow and produce the next action to take. | ```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/textbots/bots/execute Genesys Cloud Python SDK. | Genesys describes this as an API used to: Send an intent to a bot to start a dialog/interact with it via text. This will either start a bot with the given id or relay a communication to an existing bot session. | ```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/textbots/bots/search Genesys Cloud Python SDK. | Genesys describes this as an API used to: Find bots using the currently configured friendly name or ID. The name does allow case-insensitive partial string matches or by IDs (up to 50), but not both at the same time. Optionally you can limit the scope of the search by providing one or more bot types. You can specify th... | ```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/tokens/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete auth token used to make the request. | ```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/tokens/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Fetch information about the current token | ```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 HEAD /api/v2/tokens/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Verify user token | ```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/tokens/timeout Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the current Idle Token Timeout Value | ```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/tokens/timeout Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update or Enable/Disable the Idle Token Timeout | ```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/tokens/{userId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete all auth tokens for the specified user. | ```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/knowledge/documentuploads Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a presigned URL for uploading a knowledge import file with a set of documents | ```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/languageunderstanding/miners/{minerId}/uploads Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner | ```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/uploads/learning/coverart Genesys Cloud Python SDK. | Genesys describes this as an API used to: Generates pre-signed URL to upload cover art for learning modules | ```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/uploads/publicassets/images Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates presigned url for uploading a public asset image | ```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/uploads/recordings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates presigned url for uploading a recording file | ```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/uploads/workforcemanagement/historicaldata/csv Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates presigned url for uploading WFM historical data file. Requires data in csv format. | ```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/oauth/clients/{clientId}/usage/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for OAuth client API usage. After calling this method, you will then need to poll for the query results based on the returned execution Id | ```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/oauth/clients/{clientId}/usage/query/results/{executionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the results of a usage query | ```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/oauth/clients/{clientId}/usage/summary Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a summary of OAuth client API usage. After calling this method, you will then need to poll for the query results based on the returned execution Id | ```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/usage/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query organization API Usage -. After calling this method, you will then need to poll for the query results based on the returned execution Id | ```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/usage/query/{executionId}/results Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the results of a usage query | ```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/usage/simplesearch Genesys Cloud Python SDK. | Genesys describes this as an API used to: Search organization API Usage. After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results | ```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/usage/simplesearch/{executionId}/results Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the results of a usage search. Number of records to be returned is limited to 20,000 results. | ```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/userrecordings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of user recordings. | ```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/userrecordings/summary Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get user recording summary | ```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/userrecordings/{recordingId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a user recording. | ```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/userrecordings/{recordingId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a user recording. | ```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/userrecordings/{recordingId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a user recording. | ```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/userrecordings/{recordingId}/transcoding Genesys Cloud Python SDK. | Genesys describes this as an API used to: Download a user recording. | ```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/analytics/users/activity/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for user activity observations | ```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/analytics/users/aggregates/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for user aggregates | ```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/analytics/users/details/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for user details asynchronously | ```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/analytics/users/details/jobs/availability Genesys Cloud Python SDK. | Genesys describes this as an API used to: Lookup the datalake availability date and time | ```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/analytics/users/details/jobs/{jobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete/cancel an async request | ```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/analytics/users/details/jobs/{jobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get status for async query for user details | ```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/analytics/users/details/jobs/{jobId}/results Genesys Cloud Python SDK. | Genesys describes this as an API used to: Fetch a page of results for an async query | ```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/analytics/users/details/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for user details | ```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/analytics/users/observations/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for user observations | ```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/authorization/divisionspermitted/paged/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns which divisions the current user has the given permission in. | ```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/authorization/subjects/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns a listing of roles and permissions for the currently authenticated user. | ```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/authorization/subjects/{subjectId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns a listing of roles and permissions for a user. | ```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/authorization/subjects/{subjectId}/bulkadd Genesys Cloud Python SDK. | Genesys describes this as an API used to: Bulk-grant roles and divisions to a subject. | ```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/authorization/subjects/{subjectId}/bulkremove Genesys Cloud Python SDK. | Genesys describes this as an API used to: Bulk-remove grants from a subject. | ```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/authorization/subjects/{subjectId}/bulkreplace Genesys Cloud Python SDK. | Genesys describes this as an API used to: Replace subject's roles and divisions with the exact list supplied in the request. This operation will not remove grants that are inherited from group membership. It will only set the grants directly applied to the subject. | ```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/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a grant of a role in a 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/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Make a grant of a role in a 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 DELETE /api/v2/routing/directroutingbackup/settings/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default. | ```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/routing/directroutingbackup/settings/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the user's Direct Routing Backup settings. | ```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/routing/directroutingbackup/settings/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update the user's Direct Routing Backup settings. | ```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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.