Skip to main content
POST
User role

Authorizations

Authorization
string
header
required

Optional. API key passed via Authorization: Bearer <key>. Required only when API_KEY is configured on the server.

Body

application/json
type
enum<string>
required
Available options:
userRole
user
string
required

42-character hex address

Example:

"0xabc..."

Response

User role

role
enum<string>
Available options:
user,
agent
Example:

"user"

data
object | null

Present when role is agent