Update Discovery Criteria
PATCH/appid/api/v1/app/criteria/:id
Update details of the discovery criteria by ID.
Note: You need
application
feature withCreate or Update
permission to access this endpoint. Verify if your permission group includes this feature using the Get Permission Group by ID endpoint. You can also check this in the Prisma Cloud console by ensuring that Application Inventory > Applications is enabled.
Request
Path Parameters
id stringrequired
ID of the criteria.
- application/json
Body
required
name stringrequired
app objectrequired
property name* object
metadata objectrequired
property name* object
Responses
- 200
- 400
- 401
- 403
- 413
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Bad Request - request body contains a query that is not grammatically valid
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
{
"error": {
"code": "string",
"message": "string"
}
}
Unauthorized - user cannot be authenticated to service the request
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
{
"error": {
"code": "string",
"message": "string"
}
}
Forbidden - user is not authorized, or does not have the correct permissions, to make the call
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
{
"error": {
"code": "string",
"message": "string"
}
}
Payload Too Large
- */*
- Schema
- Example (from schema)
Schema
object
{}
Loading...