/split/
Description:
The /split/{splitId}
endpoint allows updating the details of a specific split identified by their unique splitId.
Method:
PUT
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/split/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"share": 123,
"userId": "<string>"
}'
{
"message": "Split updated successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Split ID
Success
The response is of type object
.
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/split/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"share": 123,
"userId": "<string>"
}'
{
"message": "Split updated successfully"
}