identity_post_login
Authenticates a user via username and password to obtain access or refresh tokens; deprecated—use the OAuth tenant token endpoint instead.
Instructions
[DEPRECATED] Login.
Use this API instead: * /oauth/tenant/{{tenant name}}/token Performs login. ### Access Policy | Role | Access | | ----- | ----- | | Anonymous | ✔️ |
POST /csp/gateway/am/api/login
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>"
},
"name": "identity_post_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body | |
| access_token | No | When this parameter is present, the response will contain refresh token. |