Skip to main content

Set Asset's Lifecycle

Use the /rest/1/lifecycle endpoint to set an asset's lifecycle.

Curl Request

curl -X POST "http://localhost:8080/rest/1/lifecycle" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"action\": \"Do not use\", \"comment\": \"Some test operation\", \"xid\": \"MzRlM2RhZTAtMzc1YS00YTBjLTk5ODMtYzQzYTBiMDFiNWFh\"}"

Request Parameters

req: (Required) Specify the action (Do not use, Certify, Decertify) and xid of an asset. If needed, you can put a comment.

Body Example

{
  "action": "Do not use",
  "comment": "Some test operation",
  "xid": "MzRlM2RhZTAtMzc1YS00YTBjLTk5ODMtYzQzYTBiMDFiNWFh"
}