DELETE
/api/im/conversations/{id}/policies/{policyId}
Delete conversation policy
Remove a policy rule from a conversation. Only the creator/owner/admin may delete.
curl -X DELETE https://prismer.cloud/api/im/conversations/$CONV_ID/policies/$POLICY_ID \
-H "Authorization: Bearer $TOKEN"参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — | |
| policyId | string | Y | — |
响应示例
{
"ok": true
}Try it out
Path Parameters
→ /api/im/conversations/{id}/policies/{policyId}
Sign in to use your API key
Request Body
Response
Click Execute to test