---
title: "Delete bot writer"
method: DELETE
path: "/bots/{key}/writers/{userNameOrId}"
tags: ["bots"]
---

# Delete bot writer

`DELETE /bots/{key}/writers/{userNameOrId}`

Remove a user from a subjects's list of authorized writers.

## Path parameters

- `key` string, required
- `userNameOrId` string, required

## Response `204`

The user’s write permission has been revoked for the subject.

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `403` — Forbidden
- `404` — Resource Not Found
- `default` — Error

## Changes

- **2018-10-22** (v1) `b2dc0f69a84c` — 1 info
  - endpoint added
- **2018-03-30** (v1) `4ca6b20ef8df` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/salesforce/apis/refocus-api/changes/bots/:key/writers/:userNameOrId/delete.md)

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
