Skip to main content
DELETE
/
contracts
/
{id}
/
profit-shares
/
{profit_share_id}
Delete Profit Share
curl --request DELETE \
  --url https://v1.api.flux-os.com/contracts/{id}/profit-shares/{profit_share_id} \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>'
{
  "message": "Profit share successfully deleted."
}

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Path Parameters

id
integer
required

The contract ID.

profit_share_id
integer
required

The profit share ID.

Response

Profit share successfully deleted.

message
string
Example:

"Profit share successfully deleted."