---
title: "Delete a domain config"
method: DELETE
path: "/organizations/{organizationId}/domain-configs/{configId}"
tags: ["Phishing Configs"]
---

# Delete a domain config

`DELETE /organizations/{organizationId}/domain-configs/{configId}`

## Request

- Base URL: `https://api.xfa.tech`
- URL: `https://api.xfa.tech/organizations/{organizationId}/domain-configs/{configId}`
- Auth: HTTP bearer

## Path parameters

- `organizationId` string, required
- `configId` string, required

## Response `204`

Domain config deleted successfully

## Other responses

- `400`: Missing config id
- `403`: User is not authorized for this organization
- `500`: Internal server error

---

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