---
title: "Remove the specific whitelist ip all access user record for specific agency"
method: DELETE
path: "/agency/{agency_id}/ip-whitelist-all-access-user/{user_id}"
tags: ["Agency ip whitelist all access user"]
---

# Remove the specific whitelist ip all access user record for specific agency

`DELETE /agency/{agency_id}/ip-whitelist-all-access-user/{user_id}`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency/{agency_id}/ip-whitelist-all-access-user/{user_id}`
- Auth: HTTP basic

## Response `200`

The specific agency ip-whitelist all access user record will be return

- AllAccessUserResponseDef
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `user_id` string, required
  - `resource_type` string, required
  - `resource_id` string, required
  - `username` string, required
  - `first_name` string, required
  - `last_name` string, required

## Other responses

- `400`: Validation error on delete
- `401`: Failed to authenticate the user making the request
- `403`: Permission denied error
- `404`: Resource not found
- `default`: Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) - [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
