Validate a proposed patch group
Validate a proposed patch group name to ensure that it is well formed and does not collide with any other names.
POST
/v1/command/validate-patch-group-name
To validate a proposed patch group, you must be authenticated by means
of one of the following methods:
- X-Authentication Header
- RBAC Allowlisted Certificate
Request format
{ "name": "string" }
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | patch-group-validate-name-payload | true | none |
Response-format
{ "valid": true, "reasons": [ "string" ] }
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Request was successful, returns state of the operation. | entity-id |
401 | Unauthorized | Authentication failed. | not-authenticated-error |
Response schema
Status code: 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» valid | boolean | true | none | none |
» reasons | [string] | false | none | none |