Jump to: navigation, search

Lock Rule

Method

GET

Syntax

 
/grs/v1/tenant/{tenantId}/package/{packageId}/lockrule/{ruleId}

Request Body

N/A

Response Body

N/A

HTTP Status Codes

  • 204 No Content—Request was successful
  • 401 Unauthorized—APIToken not valid
  • 403 Forbidden—User does not have permission for the specified tenant ID, or does not have the correct permission for this operation.
  • 404 Not Found—could not find specified package ID or rule ID.
  • 412 Precondition failed—another user holds the lock for this resource
  • 503—Service Unavailable

Notes

Must have RULE_VIEW and RULE_MODIFY permission.
User can LOCK (obtain exclusive access) to a rule by issuing this API. The LOCK will be in effect until UNLOCKED by the user, or until the user's APIToken times out (session timeout, default 30 min). A lock is required to modify or delete the rule.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 16 May 2017, at 01:20.