~sircmpwn/sr.ht-docs

200865373cca60733b386ef10326249a156a0aa6 — Drew DeVault 12 hours ago 347da7d master
Document list deletion via API
1 files changed, 14 insertions(+), 0 deletions(-)

M lists.sr.ht/api.md
M lists.sr.ht/api.md => lists.sr.ht/api.md +14 -0
@@ 231,6 231,20 @@ Updates a [mailing list resource](#mailing-list-resource).

The updated [mailing list resource](#mailing-list-resource).

### DELETE /api/lists/:list-name

Deletes a [mailing list resource](#mailing-list-resource).

**OAuth scope**: `lists:write`

**Request body**

None

**Response**

None

### GET /api/user/:username/lists/:list-name/posts

List of [email resources](#email-resource) posted to this list.