# Is it possible to disable delete and update of entries on REST API?

**URL:** <https://community.gravityforms.com/t/is-it-possible-to-disable-delete-and-update-of-entries-on-rest-api/12558>\
**Category:** Get Help\
**Tags:** capabilities, rest-api, has-ticket\
**Created:** [May 6, 2022, 6:41am UTC](https://community.gravityforms.com/t/is-it-possible-to-disable-delete-and-update-of-entries-on-rest-api/12558 "2022-05-06T06:41:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwerty389](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/qwerty389/32/5111_2.png) [@qwerty389](https://community.gravityforms.com/u/qwerty389)\
**Post date:** [May 6, 2022, 6:41am UTC](https://community.gravityforms.com/t/is-it-possible-to-disable-delete-and-update-of-entries-on-rest-api/12558/1 "2022-05-06T06:41:26Z")

</div>

The [REST API](https://docs.gravityforms.com/rest-api-v2) allows us to delete and update entries but I wonder if these can be disabled?

I just want to allow the creation of entries.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [May 6, 2022, 9:36pm UTC](https://community.gravityforms.com/t/is-it-possible-to-disable-delete-and-update-of-entries-on-rest-api/12558/2 "2022-05-06T21:36:15Z")

</div>

Hello. You can create a custom role, and ensure that role has only the capabilities you want to allow via the REST API. Then, you can assign your user that role and that user won’t have the ability to do anything you did not specifically allow.

See our role management guide here:

> **[Role and Capability Management](https://docs.gravityforms.com/role-management-guide/)**
>
> Gravity Forms introduces new capabilities to the WordPress Role system. These capabilities are only manageable via a plugin that makes use of the WordPress Role Management system.

You can use a plugin like Members to create a custom role with only the capabilities you want:

> **[Members – Membership & User Role Editor Plugin](https://wordpress.org/plugins/members/)**
>
> The best WordPress membership and user role editor plugin. User Roles & Capabilities editor helps you restrict content in just a few clicks.

If you have any other questions, please let us know.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [June 5, 2022, 9:36pm UTC](https://community.gravityforms.com/t/is-it-possible-to-disable-delete-and-update-of-entries-on-rest-api/12558/3 "2022-06-05T21:36:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
