Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Subaccounts

Update subaccount

Updates a specific subaccount associated to a Workspace.

PATCH
/v2/pool/subaccounts/{subaccount_name}

Authorization

authorization<token>

Use your API key here.

In: header

Request Body

application/jsonRequired
site_idRequiredstring
Format: "uuid"

Path Parameters

subaccount_nameRequiredstring

A subaccount name for which to retrieve summary information.

Minimum length: 1
curl -X PATCH "https://app.luxor.tech/api/v2/pool/subaccounts/my_subaccount" \
  -H "authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "site_id": "b0a5fad8-0e09-4f10-ac20-ccd80fb2d138"
  }'

Default Response

{
  "action_id": "52d6fa12-2c88-46da-984a-4cc821c7837a"
}