Skip to main content

List IP restrictions

GET https://www.digicert.com/services/v2/container/{{container_id}}/ip/rules

Use this endpoint to get a list of existing IP rules in your CertCentral account.

Example requests and responses

Path parameters

Name

Type

Description

container_id

integer

ID of the top-level account container (division).

To get the ID of the top-level container in your account, use the List containers API endpoint. The top-level container is the container with a parent_id value of 0.

Response parameters

Name

Type

Description

ip_rules

array of objects

List of IP rule objects.

.. id

integer

IP rule ID. Use this ID to delete an IP rule.

.. date_created

string

Date and time the rule was created. UTC timezone, ISO-8601 format.

.. account_id

string

ID of account the rule belongs to.

.. container_id

integer

ID of container the rule belongs to.

.. user_id

integer

ID of user the rule is for. Returns 0 if the rule does not apply to a specific user (for example, if it applies account wide or to an API key).

.. api_key_id

integer

ID of API key the rule is for. Not present if the rule does not apply to an API key.

.. ip_address

string

Starting IP address in allowed address range.

.. ip_address_end

string

Ending IP address in allowed address range. Alternately, if the rule restricts access to a single address, both ip_address and ip_address_end contain the same value (the allowed address).

.. description

string

Custom rule description.