RemoveTerminals
Call the RemoveTerminals operation to remove specified end users from a channel.
Operation description
Usage notes
This API removes specified end users from a channel.
QPS limit
The queries per second (QPS) limit for this API is 1,000 calls per minute per user. If you exceed the limit, API calls are subject to rate limiting, which may affect your business. Call this API at a reasonable rate. For more information, see QPS limit.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TerminalIds |
array |
Yes |
A list of user IDs. |
1811xxxx |
|
string |
No |
A list of user IDs. The value of N can be from 1 to 30. The format is as follows: |
1811**** |
|
| AppId |
string |
Yes |
The application ID. Only one ID is supported. You can create and query application IDs in the console. |
yourAppId |
| ChannelId |
string |
Yes |
The ID of the channel that the user has joined. Only one ID is supported. |
yourChannelId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
| Terminals |
object |
||
| Terminal |
array<object> |
A list of user ID information. |
|
|
object |
The user ID information. |
||
| Code |
integer |
The status code. A value of 0 indicates that the request was successful. If the request failed, an error code is returned. |
0 |
| Message |
string |
The result of the operation to remove the end user. Valid values:
|
Success |
| Id |
string |
The user ID. |
1811**** |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
"Terminals": {
"Terminal": [
{
"Code": 0,
"Message": "Success",
"Id": "1811****"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Channel.InternalError | Channel operate internal error | |
| 500 | Service.InternalError | service internal error | |
| 404 | Channel.NotExist | Channel not existed | |
| 404 | Service.NoSignaling | service no signaling |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.