diff options
author | Jason Swank <sr.ht@scalene.net> | 2019-10-29 20:15:36 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-11-01 11:26:50 -0400 |
commit | bcfdcbec1ae7169eb9f491788bd67d5e474a6bb2 (patch) | |
tree | cd598e9103d144121f5a26c82d74ab636233c577 /paste.sr.ht/api.md | |
parent | d99793c4d50feedc9164e45132036cc98644b49d (diff) | |
download | sr.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.md | 6 |
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). |