{"id":38156,"date":"2025-09-11T07:01:52","date_gmt":"2025-09-11T07:01:52","guid":{"rendered":"https:\/\/docs.daftra.com\/tutorial\/%d8%aa%d9%82%d9%8a%d9%8a%d8%af-%d8%b5%d9%84%d8%a7%d8%ad%d9%8a%d8%a9-%d8%ad%d8%b0%d9%81-%d8%a7%d9%84%d8%b9%d9%85%d9%84%d8%a7%d8%a1\/"},"modified":"2025-09-11T07:12:31","modified_gmt":"2025-09-11T07:12:31","slug":"restricting-client-deletion-permissions","status":"publish","type":"tutorial","link":"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/","title":{"rendered":"Restricting Client Deletion Permissions"},"content":{"rendered":"<p data-start=\"43\" data-end=\"255\">The system allows you to control employee permissions for managing clients, enabling you to prevent users from permanently deleting clients, even if they are granted edit or delete permissions within role settings.<\/p>\n<p data-start=\"257\" data-end=\"305\">To apply this restriction, follow these steps:<\/p>\n<ol data-start=\"307\" data-end=\"655\">\n<li data-start=\"307\" data-end=\"354\">\n<p data-start=\"310\" data-end=\"354\">From the main menu, click <strong data-start=\"336\" data-end=\"351\">\u201cEmployees\u201d<\/strong>.<\/p>\n<\/li>\n<li data-start=\"355\" data-end=\"395\">\n<p data-start=\"358\" data-end=\"395\">Select <strong data-start=\"365\" data-end=\"392\">\u201cManage Employee Roles\u201d<\/strong>.<\/p>\n<\/li>\n<li data-start=\"396\" data-end=\"434\">\n<p data-start=\"399\" data-end=\"434\">Choose the role you want to edit.<\/p>\n<\/li>\n<li data-start=\"435\" data-end=\"495\">\n<p data-start=\"438\" data-end=\"495\">Within the role settings, go to <strong data-start=\"470\" data-end=\"492\">\u201cBlocked Pages\u201d<\/strong>.<\/p>\n<\/li>\n<li data-start=\"496\" data-end=\"607\">\n<p data-start=\"499\" data-end=\"525\">Add the following paths:<\/p>\n<ul data-start=\"529\" data-end=\"607\">\n<li data-start=\"529\" data-end=\"563\">\n<p data-start=\"531\" data-end=\"563\"><code data-start=\"531\" data-end=\"561\">owner\/clients\/delete_client\/<\/code><\/p>\n<\/li>\n<li data-start=\"567\" data-end=\"607\">\n<p data-start=\"569\" data-end=\"607\"><code data-start=\"569\" data-end=\"605\">v2\/owner\/entity-bulk-delete\/client<\/code><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li data-start=\"608\" data-end=\"655\">\n<p data-start=\"611\" data-end=\"655\">Save the changes by clicking <strong data-start=\"640\" data-end=\"652\">\u201cSubmit\u201d<\/strong>.<\/p>\n<\/li>\n<\/ol>\n<p data-start=\"657\" data-end=\"780\" data-is-last-node=\"\" data-is-only-node=\"\">This will restrict the ability to delete clients for that role while retaining the option to edit or view client records.<\/p>\n","protected":false},"author":23,"featured_media":0,"template":"","categories":[2201],"tags":[3410],"class_list":["post-38156","tutorial","type-tutorial","status-publish","hentry","category-manage-employees","tag----en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Restricting Client Deletion Permissions - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Restricting Client Deletion Permissions - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"The system allows you to control employee permissions for managing clients, enabling you to prevent users from permanently deleting clients, even if they are granted edit or delete permissions within role settings. To apply this restriction, follow these steps: From the main menu, click \u201cEmployees\u201d. Select \u201cManage Employee Roles\u201d. Choose the role you want to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-11T07:12:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/\",\"name\":\"Restricting Client Deletion Permissions - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2025-09-11T07:01:52+00:00\",\"dateModified\":\"2025-09-11T07:12:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Restricting Client Deletion Permissions\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Restricting Client Deletion Permissions - Daftra Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/","og_locale":"en_US","og_type":"article","og_title":"Restricting Client Deletion Permissions - Daftra Knowledge Base","og_description":"The system allows you to control employee permissions for managing clients, enabling you to prevent users from permanently deleting clients, even if they are granted edit or delete permissions within role settings. To apply this restriction, follow these steps: From the main menu, click \u201cEmployees\u201d. Select \u201cManage Employee Roles\u201d. Choose the role you want to [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2025-09-11T07:12:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/#webpage","url":"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/","name":"Restricting Client Deletion Permissions - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2025-09-11T07:01:52+00:00","dateModified":"2025-09-11T07:12:31+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/restricting-client-deletion-permissions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Restricting Client Deletion Permissions"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/38156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/23"}],"version-history":[{"count":2,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/38156\/revisions"}],"predecessor-version":[{"id":38158,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/38156\/revisions\/38158"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=38156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=38156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=38156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}