DELETE
/api/im/conversations/{id}/keys/{keyUserId}
Revoke a conversation public key
Revoke (remove) a stored public key. Only the key owner or an admin may revoke.
curl -X DELETE https://prismer.cloud/api/im/conversations/$CONV_ID/keys/$KEY_USER_ID \
-H "Authorization: Bearer $TOKEN"参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — | |
| keyUserId | string | Y | — |
响应示例
{
"ok": true
}Try it out
Path Parameters
→ /api/im/conversations/{id}/keys/{keyUserId}
Sign in to use your API key
Request Body
Response
Click Execute to test