cdp.connection.sectag.add
The cdp.connection.sectag.add command adds the specified security tag(s) to all specified connections.
TR50 Request
{
"cmd": {
"command": "cdp.connection.sectag.add" ,
"params": {
"id": [
"5413264000ad5e898b48408e",
"548408413264de05e898b00a"
],
"secTags": [
"tag1",
"tag2"
]
}
}
}
Request Params
Name | Type | Required | Description |
---|---|---|---|
tags | Array |
The array of tags to be added to the specified connection(s). |
|
*One of the following Identifier parameter is required. | |||
ids | Array | Yes* | An array of connection ids that will be tagged |
esn | Array | An array of connection esns that will be tagged | |
iccid | Array | An array of connection iccids that will be tagged | |
imei | Array | An array of connection imeis that will be tagged | |
imsi | Array | An array of connection imsis that will be tagged | |
meid | Array | An array of connection meids that will be tagged | |
msisdn | Array | An array of connection msisdns that will be tagged |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true
}
}