Resources

Update Resource

put/resources/{id}

Path parameters

idstring required

Resource ID

Request body

Example request

{
  "resource": {
    "address": "10.0.0.10",
    "address_description": "Production Database",
    "filters": [
      {
        "ports": [
          "5432"
        ],
        "protocol": "tcp"
      }
    ],
    "name": "Prod DB",
    "site_id": "0642e09d-b3a2-47e4-9cd1-c2195faeeb67",
    "type": "ip"
  }
}

Response

Resource Response

Example response

{
  "data": {
    "address": "10.0.0.10",
    "address_description": "Production Database",
    "id": "42a7f82f-831a-4a9d-8f17-c66c2bb6e205",
    "name": "Prod DB",
    "site_id": "0642e09d-b3a2-47e4-9cd1-c2195faeeb67",
    "type": "ip"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.