set the featureFlags on a user

post/api/v1/admin/user/{userId}/featureflags

Path Parameters

  • userIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$

Request Body

otp string required
OTP code to validate
Example: 000000
flags string required
Comma-separated list of strings
Example: featureFlag1,featureFlag2,featureFlagN

200 Response

id string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
isActive boolean
isFrozen boolean
freezeReason string
Example: Frozen due to suspicious activity
name object
first string
Example: Jane
full string
Example: Jane Doe
last string
Example: Doe
username string <email>
Example: user@example.com
email object
email string <email>
Example: user@example.com
verified boolean
Example: true
phone object
phone string
Example: 408-718-6885
verified boolean
Example: true
country string
Example: USA
state string
Example: New York
kycStatus string
user's overall KYC status
Allowed values: approved pending rejected unverified
Example: approved

400 Response

One of
error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code