Update admin IP allowlist entry
PATCH
/api/admin/ip-allowlist/{id}
Code sample: Shell / cURL
curl --request PATCH \ --url https://auth.example.com/api/admin/ip-allowlist/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ip_range": "203.0.113.0/24", "description": "Office network", "enabled": true }'Updates the IP range, description, or enabled flag for one admin IP allowlist entry.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Admin IP allowlist entry.
Media type application/json
object
Example
{ "id": "ip_123", "tenant_id": "tenant_123", "ip_range": "203.0.113.0/24", "ip_version": 4, "description": "Office network", "enabled": 1, "created_by": "admin_123", "created_at": 1770000000000, "updated_at": 1770000000000}default
Section titled “default ”Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}