Document member DELETE route
Add API documentation to the new DELETE route for members
This commit is contained in:
parent
13fe0b7ef9
commit
f2a71a333b
@ -326,6 +326,17 @@ Edits a member's information. Missing fields will be set to `null`. Will return
|
||||
}
|
||||
```
|
||||
|
||||
### DELETE /m/\<id>
|
||||
**Requires authentication.**
|
||||
|
||||
Deletes a member from the database. Be careful as there is no confirmation and the member will be deleted immediately. Member must (obviously) belong to your own system.
|
||||
|
||||
#### Example request
|
||||
DELETE https://api.pluralkit.me/v1/m/qwert
|
||||
|
||||
#### Example response
|
||||
(`204 No Content`)
|
||||
|
||||
### GET /a/\<id>
|
||||
Queries a system by its linked Discord account ID (17/18-digit numeric snowflake). Returns `404 Not Found` if the account doesn't have a system linked.
|
||||
|
||||
@ -389,4 +400,4 @@ Looks up a proxied message by its message ID. Returns `404 Not Found` if the mes
|
||||
* 2019-07-10 **(v1)**
|
||||
* First specified version
|
||||
* (prehistory)
|
||||
* Initial release
|
||||
* Initial release
|
||||
|
Loading…
Reference in New Issue
Block a user