Connectors
Returns detailed information for all registered Connectors. Note that sensitive data will not be returned but information around when it was updated and if its set can be found in the meta
object.
OK
GET /connectors HTTP/1.1
Host: api.onomondo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
[
{
"name": "my-azure-connector",
"type": "microsoft_azure_iot",
"passthrough": [],
"tags": [
{
"name": "Supplier",
"id": "a5023f47-1db8-425e-b664-dc0b8921f644",
"can_write": false,
"color": "#5ba571"
}
],
"options": {},
"meta": {
"connectionString": {
"is_set": true,
"last_updated_at": "2024-09-26T09:25:42.898Z"
}
}
},
{
"name": "my_tls_connector",
"type": "tls",
"passthrough": [],
"tags": [],
"options": {
"host": "87.65.43.21",
"port": 443,
"server_name": "foobar.example.com"
},
"meta": {
"ca": {
"is_set": false,
"last_updated_at": "2024-09-26T09:10:22.367Z"
},
"key": {
"is_set": true,
"last_updated_at": "2024-09-26T09:25:50.140Z"
},
"cert": {
"is_set": true,
"last_updated_at": "2024-09-26T09:25:42.898Z"
}
}
}
]
Creates a Connector. The object
various depending on the type
. passthrough
and tags
are shared amongst all types though and are the mechanisms to route parts of the traffic around the Connector as well as grouping and access control.
A descriptive name for the connector (3-255 characters, alphanumeric, hyphens, and underscores only)
my-tls-connector
Pattern: ^[-_a-zA-Z0-9]{3,255}$
The type of Connector to create
Tags for grouping and access control (UUIDs)
Connector-specific configuration options
Connector successfully created
POST /connectors HTTP/1.1
Host: api.onomondo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 409
{
"name": "my-tls-connector",
"type": "tls",
"tags": [],
"passthrough": [
{
"protocol": "udp",
"ip": "1.1.1.1",
"port": 53
}
],
"options": {
"host": "123.123.123.123",
"port": 443,
"server_name": "foobar.example.com",
"key": "-----BEGIN RSA PRIVATE KEY-----...-----END RSA PRIVATE KEY-----",
"ca": "-----BEGIN RSA PRIVATE KEY-----...-----END RSA PRIVATE KEY-----",
"cert": "-----BEGIN RSA PRIVATE KEY-----...-----END RSA PRIVATE KEY-----"
}
}
Connector successfully created
{
"name": "my-tls-connector",
"type": "tls",
"passthrough": [
{
"protocol": "udp",
"ip": "1.1.1.1",
"port": 53
}
],
"tags": [],
"options": {
"host": "123.123.123.123",
"port": 443,
"server_name": "foobar.example.com"
},
"meta": {
"ca": {
"is_set": true,
"last_updated_at": "2025-09-18T09:38:36.087Z"
},
"key": {
"is_set": true,
"last_updated_at": "2025-09-18T09:38:36.087Z"
},
"cert": {
"is_set": true,
"last_updated_at": "2025-09-18T09:38:36.087Z"
}
}
}
Use a PATCH request to update an Onomondo Connector in your account.
Update one of the settings of your Connector:
name
: Change the nametype
: Change the type of the Connector. For this to be successful, you will need to also update theoptions
field with the new Connector type details.passthrough
: An array of objects to exclude being processed up by the connector. Each object requires at least a "protocol" (of eitherudp
,tcp
, oricmp
).tags
: An array of Tag IDs to be associated with a Connector.options
: See thePOST
requests for each of the Connectors for fields required in the options field.
foobar
The type of Connector (must update options field when changing type)
An array of Tag IDs to be associated with a SIM. Tag IDs require string format and can be obtained using GET /tags endpoint. Caution: Include all Tags you want to keep plus any new ones, as this replaces the entire list of Tags.
["tag-id-1","tag-id-2"]
Connector-specific configuration options (see POST examples for each connector type)
Connector successfully updated
PATCH /connectors/{connector_name} HTTP/1.1
Host: api.onomondo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"name": "updated-tls-connector",
"passthrough": [
{
"protocol": "udp",
"ip": "8.8.8.8",
"port": 53
}
]
}
Connector successfully updated
{
"id": 3202,
"uuid": "2a48f7a9-140d-47a0-a85c-f7b024798a13",
"organization_id": 2,
"name": "updated-tls-connector",
"type": "tls",
"passthrough": [
{
"protocol": "udp",
"ip": "8.8.8.8",
"port": 53
}
],
"tags": [],
"options": {
"host": "123.123.123.123",
"port": 443,
"server_name": "foobar.example.com"
},
"meta": {
"ca": {
"is_set": true,
"last_updated_at": "2025-09-18T09:38:36.087Z"
},
"key": {
"is_set": true,
"last_updated_at": "2025-09-18T09:38:36.087Z"
},
"cert": {
"is_set": true,
"last_updated_at": "2025-09-18T09:38:36.087Z"
}
}
}
Removes a specific Connector.
Note that all mappings to said Connector will need to be removed prior to the removal of the Connector itself, otherwise a 403
status code will be encountered.
foobar
OK
Connector still mapped to some SIMs
DELETE /connectors/{connector_name} HTTP/1.1
Host: api.onomondo.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"message": "ok"
}
Last updated