Create a resource lock

Beta Create a lock for a resource, to help prevent you from inadvertently deleting it or modifying some aspects of it. You can apply a lock to a single resource, or to a resource and all of its sub-resources. This operation can only be accessed by account users with unrestricted access. Talk to your local account administrator about access management.

Once a resource has a lock, that resource (and its sub-resources, if applicable) can't be deleted, regardless of your user permission. You can unlock a resource by running the Delete a resource lock operation for the specific lock.

👍

There's a tutorial

We offer an example API workflow you can follow to set up a resource lock on a Linode.

​​​​​


OAuth scopes

account:read_write

Learn more...

Language
Credentials
Click Try It! to start a request and see the response here!