---
title: "Delete a style file"
method: DELETE
path: "/v3/ai-sdr/playbooks/{playbook_id}/style-files/{style_file_id}"
tags: ["AI SDR Playbooks"]
---

# Delete a style file

`DELETE /v3/ai-sdr/playbooks/{playbook_id}/style-files/{style_file_id}`

## Request

- Base URL: `https://api.reply.io`
- URL: `https://api.reply.io/v3/ai-sdr/playbooks/{playbook_id}/style-files/{style_file_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/reply/apis/reply-api/docs/v3/ai-sdr/playbooks/:playbook_id/style-files/:style_file_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

<small>_Requires the `ai-sdr:write` scope (or a broader one that includes it)._</small>

Removes a style file from a playbook.

Requires the AI SDR feature on the caller's team.

## Path parameters

- `playbook_id` string, required
- `style_file_id` integer, required

## Response `204`

Style file deleted successfully

## Other responses

- `400`: Malformed playbook id
- `401`: Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
- `403`: AI SDR feature is not available for the caller's team
- `404`: Playbook or style file not found
- `502`: Upstream AI SDR service failure

---

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