PATCH Datasets Dataset Id
Updates the settings of a data set.
The unique identifier of the data set.
{
"name": "updated hostname",
"description": "updated const description",
"type": "OR",
"constraints": [
{
"name": "hostname",
"operator": "IS_NOT",
"value": "10.10.10.10"
}
]
}
Data set successfully updated.
{
"id": "aa4dfe85-382d-487c-875b-7e049867a76d",
"name": "hostname data set",
"description": "id const description",
"type": "AND",
"constraints": [
{
"name": "hostname",
"operator": "IS",
"value": "10.10.10.10"
},
{
"name": "application_name",
"operator": "CONTAINS",
"value": "mailing"
}
]
}
UUID in string format
name
description
type
constraints
Invalid request body
{
"errorMessage": "Some fields have incorrect values",
"errorCode": "FIELD_ERROR",
"errorDetails": {
"type": [
{
"errorCode": "com.vmware.loginsight.api.errors.field_value_should_be_one_of",
"errorMessage": "Value should be one of (OR,AND)",
"errorParams": [
"OR",
"AND"
]
}
]
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
The request was refused because it lacks valid authentication
credentials. This can happen if the Authorization header
was missing, or if it contained an invalid session ID.
Obtain a new session ID and retry the request,
or make an unauthenticated request without the Authorization header.
"Invalid session ID"
Data set not found
{
"errorMessage": "Specified data set does not exist.",
"errorCode": "RBAC_DATASETS_ERROR",
"errorDetails": {
"errorCode": "com.vmware.loginsight.api.errors.rbac.dataset_does_not_exist"
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
The request was refused because the session ID has
expired. Obtain a new session ID from /api/v1/sessions.
"Login Timeout"
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]'