The
/split/{splitId}
endpoint allows updating the details of a specific split identified by their unique splitId.
Method:PUT
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ā | Split ID |
Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
share | number | ā | The percentage share |
userId | string | ā | The user ID associated with the split |
Responses
ā 200 - Success
ā ļø 401 - Unauthorized
ā ļø 404 - Not Found
ā 500 - Internal Server Error
Tags
Splits
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Split ID
Body
application/json
The percentage share
The user ID associated with the split
Response
Success