Request Wireless Blocklist assignment for SIM card group
POST/sim_card_groups/:id/actions/set_wireless_blocklist
This action will asynchronously assign a Wireless Blocklist to all the SIMs in the SIM card group.
Request
Path Parameters
id uuidrequired
Identifies the SIM group.
- application/json
Body
required
wireless_blocklist_id uuidrequired
The identification of the related Wireless Blocklist resource.
Responses
202: Successful Response
- application/json
401: Unauthorized
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/sim_card_groups/:id/actions/set_wireless_blocklist' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"wireless_blocklist_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
}'
Response samples
{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sim_card_group_action",
"sim_card_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"type": "set_private_wireless_gateway",
"status": "in-progress",
"settings": {
"private_wireless_gateway_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
},
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}