Skip to main content
DELETE
/
split
/
{id}
Delete Split
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/split/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Split deleted successfully"
}
/split/ Description:
The /split/{splitId} endpoint deletes the split with the specified splitId from the system.
Method:
DELETE

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathSplit ID

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

Splits

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Split ID

Response

Success

message
string
I