instruction
stringlengths
81
221
input
stringlengths
50
1.19k
output
stringlengths
525
3.61k
Provide a Python example that uses the GET /api/v2/locations/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search locations using the q64 value returned from a previous search
```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/locations/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search locations
```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/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search using the q64 value returned from a previous search.
```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/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search resources.
```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/search/suggest Genesys Cloud Python SDK.
Genesys describes this as an API used to: Suggest resources using the q64 value returned from a previous suggest 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/search/suggest Genesys Cloud Python SDK.
Genesys describes this as an API used to: Suggest resources.
```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/speechandtextanalytics/transcripts/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search resources.
```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/teams/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search resources.
```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/users/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search users using the q64 value returned from a previous search
```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/users/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search users
```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/users/search/teams/assign Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search users assigned to teams
```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/voicemail/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search voicemails using the q64 value returned from a previous search
```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/voicemail/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search voicemails
```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/emails/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get email Contact Center 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 PATCH /api/v2/emails/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Patch email Contact Center 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/settings/executiondata Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the execution history enabled setting. Get the execution history enabled setting.
```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/settings/executiondata Genesys Cloud Python SDK.
Genesys describes this as an API used to: Edit the execution history on off setting. Edit the execution history on off setting.
```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/users/agentui/agents/autoanswer/{agentId}/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete agent auto answer 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/users/agentui/agents/autoanswer/{agentId}/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get agent auto answer 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 PATCH /api/v2/users/agentui/agents/autoanswer/{agentId}/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update agent auto answer 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/users/agentui/agents/autoanswer/{agentId}/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Set agent auto answer 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/speechandtextanalytics/categories Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech and Text Analytics categories
```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/speechandtextanalytics/categories Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create new Speech & Text Analytics category
```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/speechandtextanalytics/categories/{categoryId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a Speech & Text Analytics category 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/speechandtextanalytics/categories/{categoryId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Speech & Text Analytics Category 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 PUT /api/v2/speechandtextanalytics/categories/{categoryId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a Speech & Text Analytics category 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/speechandtextanalytics/conversations/{conversationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get Speech and Text Analytics for a specific conversation
```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/speechandtextanalytics/conversations/{conversationId}/categories Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of detected Speech and Text Analytics categories of conversation
```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/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturl Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
```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/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturls Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of pre-signed S3 URL for the transcripts of a specific communication of a conversation
```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/speechandtextanalytics/dictionaryfeedback Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech & Text Analytics dictionary feedbacks
```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/speechandtextanalytics/dictionaryfeedback Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a Speech & Text Analytics DictionaryFeedback
```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/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a Speech & Text Analytics DictionaryFeedback 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/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Speech & Text Analytics dictionary feedback 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 PUT /api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update existing Speech & Text Analytics dictionary feedback 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/speechandtextanalytics/programs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech & Text Analytics programs
```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/speechandtextanalytics/programs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create new Speech & Text Analytics program
```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/speechandtextanalytics/programs/general/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create new Speech & Text Analytics general program 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 GET /api/v2/speechandtextanalytics/programs/general/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Speech & Text Analytics general program job 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/speechandtextanalytics/programs/mappings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech & Text Analytics programs mappings to queues and flows
```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/speechandtextanalytics/programs/publishjobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create new Speech & Text Analytics publish programs 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 GET /api/v2/speechandtextanalytics/programs/publishjobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Speech & Text Analytics publish programs job 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/speechandtextanalytics/programs/transcriptionengines/dialects Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get supported dialects for each transcription engine
```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/speechandtextanalytics/programs/unpublished Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech & Text Analytics unpublished programs
```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/speechandtextanalytics/programs/{programId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a Speech & Text Analytics program 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/speechandtextanalytics/programs/{programId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Speech & Text Analytics program 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 PUT /api/v2/speechandtextanalytics/programs/{programId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update existing Speech & Text Analytics program
```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/speechandtextanalytics/programs/{programId}/mappings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get Speech & Text Analytics program mappings to queues and flows 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 PUT /api/v2/speechandtextanalytics/programs/{programId}/mappings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Set Speech & Text Analytics program mappings to queues and flows
```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/speechandtextanalytics/programs/{programId}/transcriptionengines Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get transcription engine settings of a program
```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/speechandtextanalytics/programs/{programId}/transcriptionengines Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update transcription engine settings of a program
```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/speechandtextanalytics/sentiment/dialects Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech & Text Analytics sentiment supported dialects
```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/speechandtextanalytics/sentimentfeedback Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete All Speech & Text Analytics SentimentFeedback
```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/speechandtextanalytics/sentimentfeedback Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech & Text Analytics SentimentFeedback
```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/speechandtextanalytics/sentimentfeedback Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a Speech & Text Analytics SentimentFeedback
```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/speechandtextanalytics/sentimentfeedback/{sentimentFeedbackId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a Speech & Text Analytics SentimentFeedback 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/speechandtextanalytics/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get Speech And Text Analytics 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 PATCH /api/v2/speechandtextanalytics/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Patch Speech And Text Analytics 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/speechandtextanalytics/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update Speech And Text Analytics 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/speechandtextanalytics/topics Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of Speech & Text Analytics topics
```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/speechandtextanalytics/topics Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create new Speech & Text Analytics topic
```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/speechandtextanalytics/topics/dialects Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get list of supported Speech & Text Analytics topics dialects
```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/speechandtextanalytics/topics/general Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the Speech & Text Analytics general topics for a given dialect
```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/speechandtextanalytics/topics/general/status Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of general topics from the org and the system with their current 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 POST /api/v2/speechandtextanalytics/topics/publishjobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create new Speech & Text Analytics publish topics 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 GET /api/v2/speechandtextanalytics/topics/publishjobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Speech & Text Analytics publish topics job 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 DELETE /api/v2/speechandtextanalytics/topics/{topicId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a Speech & Text Analytics topic 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/speechandtextanalytics/topics/{topicId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Speech & Text Analytics topic 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 PUT /api/v2/speechandtextanalytics/topics/{topicId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update existing Speech & Text Analytics topic
```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/speechandtextanalytics/transcripts/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search resources.
```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/stations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of available stations.
```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/stations/{stationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get station.
```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/stations/{stationId}/associateduser Genesys Cloud Python SDK.
Genesys describes this as an API used to: Unassigns the user assigned to this station
```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/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search using the q64 value returned from a previous search.
```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/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search resources.
```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/search/suggest Genesys Cloud Python SDK.
Genesys describes this as an API used to: Suggest resources using the q64 value returned from a previous suggest 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/search/suggest Genesys Cloud Python SDK.
Genesys describes this as an API used to: Suggest resources.
```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/taskmanagement/workbins Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a workbin
```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/taskmanagement/workbins/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query for workbins
```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/taskmanagement/workbins/{workbinId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a workbin
```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/taskmanagement/workbins/{workbinId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a workbin
```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/taskmanagement/workbins/{workbinId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update the attributes of a workbin
```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/taskmanagement/workitems Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a workitem
```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/taskmanagement/workitems/query/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a workitem query 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 GET /api/v2/taskmanagement/workitems/query/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the workitem query job associated with the job 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/taskmanagement/workitems/query/jobs/{jobId}/results Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get results from for workitem query 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 GET /api/v2/taskmanagement/workitems/schemas Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of schemas.
```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/taskmanagement/workitems/schemas Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a schema
```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/taskmanagement/workitems/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a schema
```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/taskmanagement/workitems/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a schema
```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/taskmanagement/workitems/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a schema
```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/taskmanagement/workitems/schemas/{schemaId}/versions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get all versions of a schema
```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/taskmanagement/workitems/schemas/{schemaId}/versions/{versionId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a specific version of a schema
```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/taskmanagement/workitems/{workitemId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a workitem
```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/taskmanagement/workitems/{workitemId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a workitem
```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/taskmanagement/workitems/{workitemId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update the attributes of a workitem
```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/taskmanagement/workitems/{workitemId}/acd/cancel Genesys Cloud Python SDK.
Genesys describes this as an API used to: Cancel the assignment process for a workitem that is currently queued for assignment through ACD.
```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/taskmanagement/workitems/{workitemId}/assignment Genesys Cloud Python SDK.
Genesys describes this as an API used to: Attempts to manually assign a specified workitem to a specified user. Ignores bullseye ring, PAR score, skills, and languages.
```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/taskmanagement/workitems/{workitemId}/disconnect Genesys Cloud Python SDK.
Genesys describes this as an API used to: Disconnect the assignee of the workitem
```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/taskmanagement/workitems/{workitemId}/terminate Genesys Cloud Python SDK.
Genesys describes this as an API used to: Terminate a workitem
```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...