Description: Deletes an IP or list of IPs from the JPD allowlist. See Allowlist API limitations.
Since: January 25, 2023
Security: Requires a valid token
Usage: DELETE api/jmis/v1/allowlist/{serverName}
Content-Type: application/json
Produces: application/json
Sample Usage:
curl --location --request DELETE 'https://my.jfrog.com/api/jmis/v1/allowlist/{serverName} \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"ips": [
"2.2.2.7/1"
]
}'Sample Request Single IP:
{
"ips": [
"2.2.2.7/1"
]
}Sample Request Multiple IPs:
{
"status": "IN_PROGRESS",
"message": "Success, the action will take a few minutes to complete",
"errors": [
{
"message": "Nonexistent IPs",
"details": [
"5.5.5.7/1"
]
},
{
"message": "Invalid IPs",
"details": [
"text"
]
}
]
}Sample Response Single IP:
{
"status": "IN_PROGRESS",
"message": "Success, the action will take a few minutes to complete"
}Sample Response Multiple IPs:
{
"status": "IN_PROGRESS",
"message": "Success, the action will take a few minutes to complete",
"errors": [
{
"message": "Nonexistent IPs",
"details": [
"5.5.5.7/1"
]
},
{
"message": "Invalid IPs",
"details": [
"text"
]
}
]
}Response status codes:
200- Success
500- Failed
403- Server Blocked / Valid token does not match the server name
401- Unauthorized user
429- Too many requests