Updates the given reason code for the org sending the request. If @reason_code.is_default is true and there is already a default reason code for the @reason_code.scheduling_activity_sid, the existing default reason code must be set to is_default=false first. Required permissions: NONE Errors:
grpc.AlreadyExists: the @reason_code is set to default, but there is already a default reason code for the scheduling activity.
grpc.Internal: error occours when updating the reason code.
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/updatereasoncode' \
--header'Content-Type: application/json' \
--data-raw''