Subaccounts

private/change_subaccount_label

Changed on

Updates the human-readable label for a subaccount. The label must be at most 16 characters, otherwise an invalid-params error is returned. Requires a signed session key with account-info scope; on success it echoes back the subaccount ID and the new label.

post/private/change_subaccount_label

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

ChangeSubaccountLabelRequest required
label, string required
subaccount_id, integer required

Response

Success

PrivateChangeSubaccountLabelResponse required
label, string required
subaccount_id, integer required

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status