Product SiteDocumentation Site

2.4. Meraki sensor creation

Meraki sensors can be created issuing a POST request to the following URI:
      HTTP Verb: POST
      URI: https://hostname/api/v1/sensors/meraki
      STATUS: DEPRECATED
      HTTP Verb: POST
      URI: https://hostname/api/v1/sensors/create/meraki
This request accepts the following payload parameters:
If request was successful HTTP 200 OK status code will be returned alongside a JSON response describing the new meraki sensor.
In the following lines you may find an example response to a successful request:
      Request:
        HTTP Verb: POST
        URI: https://hostname/api/v1/sensors/meraki?auth_token=xxxxxx
        Payload: { "name":"test_meraki",
                   "parent_uuid":"6396049722605916538",
                   "ip":"10.0.2.10",
                   "meraki_validator": "validator_frase"}

      Response:
        {
          "query": true
          "sensor": {
            "id": 1501
            "uuid": "4486950571500705295"
            "name": "test_meraki"
            "ip": "10.0.2.10"
            "meraki_validator": "validator_frase"
            "secret": "52bcf9fa1666053ecd5d0e0c8528627a43ece6be"
          }
        }