Network Lists

Retrieve information about all Network Lists

get

Retrieves a list of all Network Lists connected to your organization.

The response includes Network List objects containing the name, associated Tags, and a list of network objects with mcc (Mobile Country Code) and mnc (Mobile Network Code) values.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

OK

application/json
get
/network-whitelists
200

OK

Retrieve a specific Network List

get

Retrieves a specific Network List by named that is connected to the account.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
network_whitelist_namestringRequired
Responses
chevron-right
200

OK

application/json
Responseobject
get
/network-whitelists/{network_whitelist_name}
200

OK

Add Network List

post

Creates a new Network List connected to the account.

Once the Network List is created, you can map SIMs to it by updating the desired SIMs.

circle-exclamation
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringOptionalExample: foobar
tagsstring[]Optional

An array of Tag IDs to be associated with the Network List.

Example: ["tag-id-1"]
networksobject[]Optional

An array of networks to be associated with a SIM.

Example: [{"mcc":"242","mnc":"01"},{"mcc":"240","mnc":"02"}]
Responses
chevron-right
200

OK

application/json
Responseobject
post
/network-whitelists
200

OK

Update Network List

patch

Modify a specific Network List.

circle-exclamation
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
network_whitelist_namestringRequired
Body
tagsstring[]Optional

An array of Tag IDs to be associated with the Network List. Caution: Include all Tags you want to keep plus any new ones, as this replaces the entire list of Tags.

Example: ["tag-id-1","tag-id-2"]
networksobject[]Optional

An array of networks to be associated with a SIM. Caution: Include all networks you want to keep plus any new ones, as this replaces the entire list of networks.

Example: [{"mcc":"242","mnc":"01"},{"mcc":"240","mnc":"02"},{"mcc":"238","mnc":"20"}]
Responses
chevron-right
200

OK

application/json
Responseobject
patch
/network-whitelists/{network_whitelist_name}
200

OK

Delete Network List

delete

Removes a specific Network List.

Note that all mappings to said Network List will need to be removed prior to the removal of the Network List itself, otherwise a 403 status code will be encountered.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
network_whitelist_namestringRequired
Responses
chevron-right
200

OK

application/json
Responseobject
delete
/network-whitelists/{network_whitelist_name}

Last updated