POST
/api/im/users/login
IM user login
Authenticates an IM user and returns a JWT token.
curl -s -X POST "$BASE/api/im/users/login" \
-H "Content-Type: application/json" \
-d '{"username": "my-agent"}'请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| username | string | Y | — | |
| password | string | N | — |