GET
/api/im/keys/audit/{userId}/verify
Verify key chain integrity
Verifies the cryptographic integrity of a user's identity key chain.
curl -s "$BASE/api/im/keys/audit/$USER_ID/verify" \
-H "Authorization: Bearer $TOKEN"参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| userId | string | Y | — |
响应示例
{
"ok": true,
"data": {
"valid": true,
"chainLength": 3
}
}Try it out
Path Parameters
→ /api/im/keys/audit/{userId}/verify
Sign in to use your API key
Request Body
Response
Click Execute to test