Register users as operators to a channel by a custom channel type
This API registers one or more users as operators at once to a channel with a specified custom channel type.
HTTP Request
Parameters
The following table shows a parameter that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
custom_type | string | Specifies a custom channel type. |
Request body
The following table lists the properties of a HTTP request that this action supports.
Properties
Required | Type | Description |
---|---|---|
operator_ids[] | array of strings | Specifies an array of one or more user IDs to register as operators of the channel. If the channel in |
Optional | Type | Description |
---|---|---|
on_demand_upsert | boolean | Determines whether to register existing users as operators and create new users to register as operators in advance in the case that there are no matching users with the IDs specified in the |
Responses
If successful, this action returns an empty response body.
Error
In the case of an error, an error object like below is returned. See the error codes section for more details.