CI Lifecycle Management API - GET /now/cilifecyclemgmt/leases/{sys_id}/expired

Determines if the lease has expired for the requestor of a specified CI Action.

URL format

Versioned URL: api/now/v1/cilifecyclemgmt/leases/{sys_id}/expired

Default URL: api/now/cilifecyclemgmt/leases/{sys_id}/expired

Supported request parameters

Table 1. Parameters
Parameter Description
sys_id The CI's sys_id.
requestorid A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
actionName The CI action name.

Headers

The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.

Table 2. Request headers
Header Description
Table 3. Response headers
Header Description

Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST response codes .

Table 4. Status codes
Status code Description
200 Indicates the request completed successfully.

Response payload

A JSON formatted string with name-value pairs for
  • result - true if the user's lease has expired; otherwise, false.
  • errors - list of errors.