---
title: "DELETE /authpolicy/{resourceIdentifier}"
method: DELETE
path: "/authpolicy/{resourceIdentifier}"
---

# DELETE /authpolicy/{resourceIdentifier}

`DELETE /authpolicy/{resourceIdentifier}`

Deletes the specified auth policy. If an auth is set to <code>AWS_IAM</code> and the auth policy is deleted, all requests are denied. If you are trying to remove the auth policy completely, you must set the auth type to <code>NONE</code>. If auth is enabled on the resource, but no auth policy is set, all requests are denied.

## Path parameters

- `resourceIdentifier` string, required

## Response `204`

Success

- DeleteAuthPolicyResponse

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/vpc-lattice.md) · [All operations](https://skmtc.net/aws/apis/vpc-lattice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/vpc-lattice/versions/bbec5439e0f7/schema)
