user

Update user preferences

Update the current user's global domain defaults (autoEns, autoRenew). Omitted fields are left unchanged.

put/user/preferences

Request

  • Base URL: https://api.namefi.io/v-next
  • URL: https://api.namefi.io/v-next/user/preferences
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Headers

x-namefi-eip7702-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred header name.

x-namefi-eip1271-accountstring

Legacy alias for x-namefi-erc1271-account. When multiple delegated account headers are present, x-namefi-eip7702-account takes precedence, then x-namefi-erc1271-account.

x-namefi-erc1271-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred ERC-1271 header name.

Request body

defaultAutoEnsboolean
defaultAutoRenewboolean

Response

OK

defaultAutoEnsboolean required
defaultAutoRenewboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.