aboutsummaryrefslogtreecommitdiffstats
path: root/paste.sr.ht/api.md
diff options
context:
space:
mode:
authorJason Swank <sr.ht@scalene.net>2019-10-29 20:15:36 -0400
committerDrew DeVault <sir@cmpwn.com>2019-11-01 11:26:50 -0400
commitbcfdcbec1ae7169eb9f491788bd67d5e474a6bb2 (patch)
treecd598e9103d144121f5a26c82d74ab636233c577 /paste.sr.ht/api.md
parentd99793c4d50feedc9164e45132036cc98644b49d (diff)
downloadsr.ht-docs-bcfdcbec1ae7169eb9f491788bd67d5e474a6bb2.tar.gz
Add doc for DELETE method
Diffstat (limited to 'paste.sr.ht/api.md')
-rw-r--r--paste.sr.ht/api.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/paste.sr.ht/api.md b/paste.sr.ht/api.md
index 099da42..3f85f8d 100644
--- a/paste.sr.ht/api.md
+++ b/paste.sr.ht/api.md
@@ -84,6 +84,12 @@ Retrieves a [paste resource](#paste-resource).
**OAuth scope**: `pastes:read`
+### DELETE /api/pastes/:sha
+
+Deletes a [paste resource](#paste-resource).
+
+**OAuth scope**: `pastes:write`
+
### GET /api/blobs/:sha
Retrieves a [blob resource](#blob-resource).