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
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Payload to create or update target properties
Show Source
Nested Schema : properties
Type: array
the target properties to set
Show Source
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
Back to Top

Response

Supported Media Types

200 Response

OK

400 Response

in the case of a processing error like unsupported property given etc.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

client is not authenticated
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

target not found or not authorized
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

internal error serving the request
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

indicates that a required service is not available.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top