---
title: "Delete custom instruction by id"
method: DELETE
path: "/api/ai-customizations/v1/profiles/{profile_id}/instructions/{instruction_id}"
tags: ["AI Customization Instructions"]
---

# Delete custom instruction by id

`DELETE /api/ai-customizations/v1/profiles/{profile_id}/instructions/{instruction_id}`

## Request

- Base URL: `https://agency-partner-hub-web.global-aws-use1-p.app-us1.com`
- URL: `https://agency-partner-hub-web.global-aws-use1-p.app-us1.com/api/ai-customizations/v1/profiles/{profile_id}/instructions/{instruction_id}`
- Auth: one of:
  - API key in header `api-key`
  - HTTP bearer

## Path parameters

- `profile_id` integer, required
- `instruction_id` integer, required

## Response `204`

Custom Instruction was successfully deleted (204 No Content).

## Other responses

- `400`: Bad Request
- `401`: Authorization error
- `404`: Not Found

---

[API](https://skmtc.dev/activecampaign/apis/partners-api.md) - [All operations](https://skmtc.dev/activecampaign/apis/partners-api/llms.txt) - [OpenAPI document](https://skmtc.dev/activecampaign/apis/partners-api/revisions/846abb7d30bd?raw)
