Skip to main content
DELETE
/
revenue
/
{id}
Delete Revenue
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/revenue/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Revenue deleted successfully"
}
Delete Revenue Description:
The /revenue/{id} endpoint allows deletion of a specific revenue record.
Method:
DELETE
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the revenue record

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathRevenue ID

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

Revenue

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Revenue ID

Response

Success

message
string
I