Back to Collection Items
<?php
$http->AuthToken = '<access_token>';
?>
Curl Command
curl -X DELETE
-H "Authorization: Bearer <access_token>"
https://domain.com/crm/v2/Cases/{{record_id}}/actions/share
Postman Collection Item JSON
{
"name": "Cases",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{access-token}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2/Cases/{{record_id}}/actions/share",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2",
"Cases",
"{{record_id}}",
"actions",
"share"
]
},
"description": "To revoke access to a shared record that was shared to users."
},
"response": [
]
}