account

Set OTP delivery preference for handle login

Set your preferred OTP delivery channel when logging in via handle.

Valid values:

  • "email": Prefer email OTP
  • "sms": Prefer SMS OTP
  • null: Clear preference (show all options)

When set, the preferred channel appears first in the available methods during handle login. This helps streamline the login flow.

Note: You must have a verified identity of the preferred type. Setting a preference for a type you don't have will have no effect.

Authentication: Authorization: Bearer <CLIENT_JWT>

patch/v1/account/otp-preference

Request

  • Base URL
    https://api.grove.city (the document declares no server; this is the origin it was published from)
  • URL
    https://api.grove.city/v1/account/otp-preference
  • Auth
    none declared

Headers

authorizationstring nullable

Bearer JWT issued by Grove that identifies the account.

Request body

preferencestring nullable

OTP delivery preference: 'email', 'sms', or null to clear. When set, this channel appears first in available methods during login.

Response

Successful Response

preferencestring nullable

Current OTP preference ('email', 'sms', or null if not set)

Changes

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