mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
715 B
715 B
title
| title |
|---|
| Transaction Force Delete |
Transaction Force Delete Endpoint
The transaction force delete endpoint hard deletes a transaction and returns a confirmation message.
For example, the /forceDelete/transaction/1 endpoint will hard delete the transaction of id '1' and return a confirmation message.
URL
DELETE /forceDelete/transaction/{id}
Authentication
Required Permission: force delete transaction
Roles with Permission: Admin
Parameters
None
Response
{
message: "The Transaction 'AWS 2022-06-01' was deleted.",
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/forceDelete/transaction/1