Skip to main content
POST
Reward badge for account

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required

UUID of the badge (converted to lowercase)

Example:

"123e4567-e89b-12d3-a456-426614174333"

Body

application/json

Body

Schema for a update user badge schema

userId
string<uuid>

UUID of the user (converted to lowercase)

Example:

"123e4567-e89b-12d3-a456-426614174333"

walletAddress
string

Validated and formatted wallet address

Example:

"0x1234567890abcdef1234567890abcdef12345678"

status
enum<string>

Status of the badge

Available options:
active,
inactive,
revoked
Example:

"revoked"

Response

200

Response returned upon successful update of the user badge

message
string
required

The message returned upon update of the badge

data
object
required