Skip to main content
POST
/
split
/
bulk
/
delete
Bulk delete Splits
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/split/bulk/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "a8787d14-1149-4b10-9e29-7ef054de8c3f",
    "b9898e25-2250-5c21-af3a-8fg165ef9d4g",
    "c0a0af36-3361-6d32-bg4b-9gh276fg0e5h"
  ]
}'
{
  "message": "Split configurations deleted successfully",
  "deletedCount": 3,
  "errors": []
}
Bulk Delete Revenue Split Configurations The Bulk Delete Revenue Split Configurations endpoint (/split/bulk/delete) allows users to delete multiple revenue split configurations in bulk. Method:
POST
Request Payload: The request payload should be a JSON object with an array of revenue split configuration IDs (ids) to be deleted.
ParameterTypeRequiredDescription
idsstring[]YesAn array of revenue split configuration IDs (UUIDs) to be deleted
This request deletes multiple revenue split configurations with the specified UUIDs. Ensure you provide the necessary authentication token in the request header and the IDs of the configurations you want to delete in the request payload.

Authentication

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

Request Body

Request Schema

FieldTypeRequiredDescription
idsarrayāœ…An array of revenue split configuration IDs (UUIDs) to be deleted

Responses

āœ… 200 - Split configurations deleted successfully

āš ļø 400 - Bad Request - Invalid IDs

āš ļø 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}"

Body

application/json
ids
string<uuid>[]
required

An array of revenue split configuration IDs (UUIDs) to be deleted

Response

Split configurations deleted successfully

message
string
deletedCount
integer
errors
string[]
⌘I