Update or create properties of a target
post
https://EM_HOST:8080/em/api/targets/{targetId}/actions/bulkUpdateProperties
Update the properties of the target identified by the given id
Request
Path Parameters
-
targetId(required): string
the target id
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Payload to create or update target properties
Show Source
-
propagateToMembers: boolean
indicates if the property changes shall get propagated to member targets.Example:
false
-
properties: array
properties
the target properties to set
Nested Schema : properties
Type:
array
the target properties to set
Show Source
-
Array of:
object TargetPropertySummary
A target property describes a property of a target by id, name, display name and the value
Example:
[
{
"id":"orcl_gtp_os",
"name":"Operating System",
"displayName":"Betriebssystem",
"value":"Linux"
},
{
"id":"orcl_gtp_platform",
"name":"Platform",
"displayName":"Plattform",
"value":"x86_64"
}
]
Nested Schema : TargetPropertySummary
Type:
object
A target property describes a property of a target by id, name, display name and the value
Show Source
-
displayName: string
the property name in the client locale. If the client locale is unknown or not supported this is the same as the name.
-
id: string
the property id. This is the internal name of the property
-
name: string
the English property name.
-
value: string
the property value.
Response
Supported Media Types
- application/json
200 Response
OK
400 Response
in the case of a processing error like unsupported property given etc.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
401 Response
Client is not authenticated.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
404 Response
Resource not found or not authorized
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
500 Response
Internal error serving the request.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
503 Response
Indicates that a required service is not available.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported