Update

Description

Update an existing IP access control rule.

Request

HTTP Method: PUT, PATCH

Field description

Field Description
id IP access control rule ID.
ip IP address or CIDR range of the rule.
description Human-readable description of the rule.

Sample request


curl -X PUT \
  https://<<META.tenant.domain>>/api/v1/admin/ip_access_control_rules/1 \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
  -d '{
      "ip": "192.168.1.1",
      "description": "Example IP"
    }'

Response

A successful request will return status 200 and the updated IP access control rule object.

See list for more details about the rule object.

Was this helpful?