Patch Rule
This API updates customer rule. Only rule name update is allowed. It returns the updated rule definition.
Request
URI
PATCH
https://umip/api/v1/rules/{id}
COPY
Path Parameters
string
id
Required
The id(UUID) of a customer rule
Request Body
Rule update definition
PatchRuleRequest
of type(s)
application/json
Required
"PatchRuleRequest Object"
string
name
Optional
Constraints:
minLength: 1
maxLength: 170
name
Responses
200
Rule updated
Returns
PatchRuleResponse
of type(s)
application/json
"PatchRuleResponse Object"
string
productType
Optional
productType
Possible values are :
vCenter,
VCD,
integer
productId
Optional
Constraints:
minimum: 1
productId
string
name
Optional
name
string
targetId
Optional
targetId
string
targetType
Optional
targetType
Possible values are :
vCenter,
VCD,
Datacenter,
ClusterComputeResource,
ResourcePool,
HostSystem,
Folder,
vcd_organization,
string
As ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
id
Optional
id
400
Returns
400InvalidRequest
of type(s)
application/json
Operation doesn't return any data structure
401
Unauthorized - Invalid login credentials
{
"errCode": "string"
}
string
errCode
Optional
errCode
Code Samples
COPY
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]'
On This Page
Customer Rules Operations
GET
Get Rules
POST
Post Rules
DELETE
Delete Rules
PATCH
Patch Rules
GET
Get Rule
DELETE
Delete Rule
PATCH
Patch Rule
GET
Get Rules Audit
POST
Get Inventory Search Result