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

# Delete lens writer

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

Remove a user from a lens’ list of authorized writers.

## Path parameters

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

## Response `204`

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

## Other responses

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

---

[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)
