Update Destination-Service Group

Response Format

ParameterTypeDescription
codeNumberRefer to [Success and Error Code] (https://docs.cinnox.com/reference/error-codes-and-rate-limit)
idStringID of the updated destination
Path Params
string
required

App ID

string
required

ID of the destination you are required to update. This ID can be found in the response of Create destination endpoint.

Body Params
string

The updated Service Group Name. The maximum limit is 40 characters

supportLanguages (Required)
array of strings

A list of the updated language the staff will use to engage with the customer or visitor. It supports multiple language codes ("*" = support all languages in the request body).

supportLanguages (Required)
supportLocations (Required)
array of strings

A list of the updated location the service group will support. The format: countries/regions + states. It supports multiple location ("*" = support all countries/regions in the request body)

supportLocations (Required)
types (Required)
array of strings

A list of the updated Destination type. Supported type: PHONE / STAFF / TRUNK (All capital letters)

types (Required)
phoneTargets
array of strings

A list of the updated PSTN Number with country code. Required when selected the PHONE type

phoneTargets
staffTargets
array of strings

A list of the updated Staff ID. Required when you select the STAFF type.

staffTargets
trunkTargets
array of strings

A list of the updated Sip Trunk Number with country code. Required when you select the Sip TRUNK type.

trunkTargets
Headers
string

application/json

string

Bearer AppToken

Responses

Language
Choose an example:
application/json