ServerMania logo

Delete Whitelisted IP

To delete a whitelisted IP, use the following request:

DELETE /users/:user_id/user_white_lists/:id.xml
DELETE /users/:user_id/user_white_lists/:id.json

XML Request Example

curl -X DELETE -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass http://test/users/8/user_white_lists/9.xml

JSON Request Example

curl -X DELETE -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass http://test/users/8/user_white_lists/9.json