Removes the @wfm_agent_sid_to_remove from all future shifts for the org. If @replace_with_new_unassigned_agent is set to true, a new unassigned agent will be created and it will be assigned to the shifts and agent groups from @wfm_agent_sid_to_remove. If @replace_with_new_unassigned_agent is set to false, the future shifts will just be deleted. If the @wfm_agent_sid_to_remove is not currently inactive, it will be set as inactive. Errors:
grpc.Internal: error occurs when deleting the shifts, creating the new unassigned agent, reassigning the shifts to that agent, or setting the agent to inactive.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.cbf.tcn.com/api/v1alpha1/wfm/removeagentfromfutureshifts' \
--header'Content-Type: application/json' \
--data-raw''