Global resources (v1)

Lock or unlock a resource

Lock or unlock a resource. Locking prevents its value from being modified. Requires the RESOURCE_MANAGE permission. Unlocking via the API is permanent. Locking or unlocking also applies to the resource's test resource.

put/api/v1/global_resources/{id}/locked

Request

  • Base URL: https://your-tenant.tines.com
  • URL: https://your-tenant.tines.com/api/v1/global_resources/{id}/locked
  • Auth: one of:
    • API key in header X-User-Token
    • HTTP bearer

Path parameters

idinteger required

The ID of the resource

Request body

lockedboolean required

true to lock the resource, false to unlock

Response

The resource's id and locked status

idinteger

Resource ID

lockedboolean

Whether the resource is locked

Changes

No recorded changes to this operation across all 1 revision of this API.