Saltar al contenido principal
Versión: 1.0.1

User Skills

User skills let agents manage user accounts and authentication.

user.login

Authenticate a user and get access tokens.

{
"skill": "user.login",
"input": {
"account": "admin",
"password": "password"
}
}

user.info

Get current user information.

{
"skill": "user.info",
"input": {}
}

user.list

List users in the current tenant.

{
"skill": "user.list",
"input": {
"page": 1,
"pageSize": 20,
"userName": "admin"
}
}

user.create

Create a new user.

{
"skill": "user.create",
"input": {
"userName": "newuser",
"password": "securePass123",
"email": "newuser@example.com",
"tel": "+1-555-0100",
"userType": "MERCHANT_USER"
}
}