2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00

Fix docs for internal delete endpoint

This commit is contained in:
asonix 2023-09-01 20:52:19 -05:00
parent ba3a23ed43
commit 7121e677b9

View file

@ -508,8 +508,8 @@ A secure API key can be generated by any password generator.
The upload format and response format are the same as the `POST /image` endpoint. The upload format and response format are the same as the `POST /image` endpoint.
- `POST /internal/delete?alias={alias}` Delete an alias without requiring a delete token. - `POST /internal/delete?alias={alias}` Delete an alias without requiring a delete token.
Available source arguments are Available source arguments are
- `?alias={alias}` Purge a file by it's alias - `?alias={alias}` Delete a file alias
- `?proxy={url}` Purge a proxied file by its URL - `?proxy={url}` Delete a proxied file's alias
This endpoint returns the following JSON This endpoint returns the following JSON
```json ```json