modify Registry

patch

Update a registry

Authorizations
Path parameters
subscriptionIdstringRequired

Subscription ID

registryIdstringRequired

Registry ID

Query parameters
updateMaskstring · enumRequired

values to be updated: eventNotificationConfigs,stateNotificationConfig.pubsub_topic_name,logNotificationConfig.pubsub_topic_name,customOnboardNotificationConfig.pubsub_topic_name,mqttConfig.mqtt_enabled_state,httpConfig.http_enabled_state,logLevel,credentials,customOnboardEnabled

Possible values:
Body
idstring · min: 3 · max: 256Required
namestringRead-onlyOptional
parentstringRead-onlyOptional
createdOnstringRead-onlyOptional
updatedOnstringRead-onlyOptional
logLevelstring · enumOptionalPossible values:
isNatsRoutebooleanOptional
customOnboardEnabledbooleanOptional
numberOfDevicesintegerRead-onlyOptional
numberOfGatewaysintegerRead-onlyOptional
Responses
200
OK
application/json
patch
PATCH /omnicore/subscriptions/{subscriptionId}/registries/{registryId} HTTP/1.1
Host: api.korewireless.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 658

{
  "id": "text",
  "credentials": [
    {
      "publicKeyCertificate": {
        "certificate": "text",
        "format": "X509_CERTIFICATE_PEM",
        "x509Details": {
          "expiryTime": "text",
          "issuer": "text",
          "publicKeyType": "text",
          "signatureAlgorithm": "text",
          "startTime": "text",
          "subject": "text"
        }
      }
    }
  ],
  "httpConfig": {
    "httpEnabledState": "HTTP_ENABLED"
  },
  "mqttConfig": {
    "mqttEnabledState": "MQTT_ENABLED"
  },
  "logLevel": "INFO",
  "isNatsRoute": true,
  "eventNotificationConfigs": [
    {
      "pubsubTopicName": "text",
      "subfolderMatches": "text"
    }
  ],
  "logNotificationConfig": {
    "pubsubTopicName": "text"
  },
  "stateNotificationConfig": {
    "pubsubTopicName": "text"
  },
  "customOnboardNotificationConfig": {
    "pubsubTopicName": "text"
  },
  "customOnboardEnabled": true
}
{
  "id": "text",
  "name": "text",
  "parent": "text",
  "createdOn": "text",
  "updatedOn": "text",
  "credentials": [
    {
      "publicKeyCertificate": {
        "certificate": "text",
        "format": "X509_CERTIFICATE_PEM",
        "x509Details": {
          "expiryTime": "text",
          "issuer": "text",
          "publicKeyType": "text",
          "signatureAlgorithm": "text",
          "startTime": "text",
          "subject": "text"
        }
      },
      "id": "text"
    }
  ],
  "httpConfig": {
    "httpEnabledState": "HTTP_ENABLED"
  },
  "mqttConfig": {
    "mqttEnabledState": "MQTT_ENABLED"
  },
  "logLevel": "INFO",
  "isNatsRoute": true,
  "eventNotificationConfigs": [
    {
      "pubsubTopicName": "text",
      "subfolderMatches": "text"
    }
  ],
  "logNotificationConfig": {
    "pubsubTopicName": "text"
  },
  "stateNotificationConfig": {
    "pubsubTopicName": "text"
  },
  "customOnboardNotificationConfig": {
    "pubsubTopicName": "text"
  },
  "customOnboardEnabled": true,
  "numberOfDevices": 1,
  "numberOfGateways": 1
}

Authorization: apiKey

name: x-api-key
in: header
type: apiKey
curl -L -X PATCH 'https://api.korewireless.com/omnicore/subscriptions/:subscriptionId/registries/:registryId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-H 'x-api-key: <API_KEY_VALUE>' \
--data-raw '{
  "id": "string",
  "credentials": [
    {
      "publicKeyCertificate": {
        "certificate": "string",
        "format": "X509_CERTIFICATE_PEM",
        "x509Details": {
          "expiryTime": "string",
          "issuer": "string",
          "publicKeyType": "string",
          "signatureAlgorithm": "string",
          "startTime": "string",
          "subject": "string"
        }
      }
    }
  ],
  "httpConfig": {
    "httpEnabledState": "HTTP_ENABLED"
  },
  "mqttConfig": {
    "mqttEnabledState": "MQTT_ENABLED"
  },
  "logLevel": "INFO",
  "eventNotificationConfigs": [
    {
      "pubsubTopicName": "string",
      "subfolderMatches": "string"
    }
  ],
  "logNotificationConfig": {
    "pubsubTopicName": "string"
  },
  "stateNotificationConfig": {
    "pubsubTopicName": "string"
  },
  "customOnboardNotificationConfig": {
    "pubsubTopicName": "string"
  },
  "customOnboardEnabled": true
}'

Last updated