Skip to content

Create allowlist IP

Request

Add an entry to the organization IP allowlist. Requires the SETTING__IP_ALLOWLIST__ADD permission (Organization Admin).

Security
bearer-key
Path
orgUuidstringrequired

org UUID (from the Mend App: Administration General > Organization UUID).

Bodyapplication/jsonrequired
ipstringrequired

IPv4 address or CIDR range. A single address without a range is stored as /32

Example:"10.132.21.192/26"
descriptionstring
Example:"Azure DevOps hosted agents"
activeboolean

Whether the entry is active. Defaults to false when omitted

Example:true
{ "ip": "10.132.21.192/26", "description": "Azure DevOps hosted agents", "active": true }

Responses

Allowlist IP created

Bodyapplication/json
uuidstring
ipstring

Base IPv4 address of the entry

Example:"10.132.21.192"
cidrstring

IPv4 address with its CIDR range

Example:"10.132.21.192/26"
descriptionstring
activeboolean
updatedBystring

Email of the user who last created or updated the entry

createdAtstring, (date-time)
updatedAtstring, (date-time)
Response
{ "uuid": "string", "ip": "10.132.21.192", "cidr": "10.132.21.192/26", "description": "string", "active": true, "updatedBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }