Disable admin IP allowlist entry
POST
/api/admin/ip-allowlist/{id}/disable
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/ip-allowlist/example/disable \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Disables one admin IP allowlist entry and records an audit log.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body
Section titled “Request Body ” Media type application/json
object
key
additional properties
Example
{}Responses
Section titled “ Responses ”Admin IP allowlist state changed.
Media type application/json
object
success
required
boolean
key
additional properties
Example
{ "success": true, "message": "IP allowlist entry enabled"}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"}