For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCancel an action execution
        • POSTCreate a new instance group
        • POSTCreate a new resource model
        • DELDelete a resource model
        • DELDelete an instance group
        • GETExport a resource instance
        • GETExport a resource model
        • GETGet a resource model based on ID
        • GETGet action execution record
        • GETGet instance group
        • GETGet multiple instance groups
        • GETGet resource instance
        • POSTImport a resource model
        • POSTImport an instance into a resource
        • POSTPerforms edits to a resource model
        • POSTRun a resource action
        • POSTRun a resource action against multiple instances
        • GETSearch resource action history documents
        • GETSearch resource instances
        • GETSearch resource models
        • PATCHUpdate a instance group
        • PUTUpdate a resource model
        • PUTUpdate resource instance
        • POSTValidate the actions defined on a resource model
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceLifecycle Manager

Validate the actions defined on a resource model

POST
http://localhost:3000/lifecycle-manager/resources/:modelId/actions/validate
POST
/lifecycle-manager/resources/:modelId/actions/validate
$curl -X POST http://localhost:3000/lifecycle-manager/resources/modelId/actions/validate \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "message": "Successfully created the requested item",
3 "data": null,
4 "metadata": {}
5}
This method validates the actions on a resource model. Each validation report has an associate severity, and designates whether or not it will prevent the action from saving, prevent the model from running, or both. It accepts pending edits to actions in the optional 'actions' body parameter in order to check for validation issues on unsaved, pending changes to an action.
Was this page helpful?
Previous

Change password

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

modelIdstringRequiredformat: "^[0-9a-fA-F]{24}$"
Resource model ID

Request

properties
actionslist of objectsOptional

Response

response
object
A success response from an API method
OR
object
A failure response from an API method

Errors

500
Internal Server Error