Earn
Set auto earn preferences
Sets auto-earn preferences for the specified account.
All body fields are optional. Only fields that are present will be updated; omitted yield sources are left unchanged.
PATCH
Authorizations
Path Parameters
ID of the account to update preferences for. Refers to one of the accounts held by the user the request is acting on behalf of.
Required string length:
5 - 34Pattern:
^[A-Z]{2}[0-9]{2}[A-Z0-9]+$Body
application/json
Request to set auto-earn preferences for an account.
Staking auto-earn preference. Omit to leave unchanged.
Available options:
enabled, disabled Response
Successful response
Response from SetAutoEarnPreferences (empty on success).