Use the following curl
command to delete a raw paste by providing its id
and the associated password
. Replace the placeholder values with your actual data.
curl --location --request DELETE 'http://localhost:3000/api/raw' \
--header 'Content-Type: application/json' \
--data '{
"id": "4716cffxxxxxxxxxxxxxxx",
"password": "X2(uxxxxxxxxxxx"
}'
id
: The unique identifier of the raw paste you want to delete.password
: The password associated with the raw paste. This is required to authenticate the delete request.To delete a raw paste with ID 4716cffxxxxxxxxxxxxxxx
and password X2(uxxxxxxxxxxx
, use the above command. Make sure the URL points to the correct server address.