Modify an existing global target property

patch

https://EM_HOST:8080/em/api/globalTargetProperties/{globalTargetPropertyID}

This api modifies an existing global target property identified by the given id.

Request

Path Parameters
Supported Media Types
Request Body - application/json+merge-patch ()
Root Schema : schema
Type: object
The payload used to modify an existing target
Show Source
Nested Schema : addValidValues
Type: array
The valid values to add
Show Source
Example:
[
    "New valid value",
    "Another new valid value"
]
Nested Schema : removeValidValues
Type: array
The valid values to remove
Show Source
Example:
[
    "Old value",
    "Another old value"
]
Back to Top

Response

Supported Media Types

200 Response

Successful Response
Body ()
Root Schema : GlobalTargetProperty
Type: object
This is the representation of an EM target resource.
Show Source
Nested Schema : validValues
Type: array
the valid values for this property
Show Source
Example:
[
    "London",
    "Paris",
    "Rome"
]

400 Response

indicates that there has been a processing error or an illegal argument, like an unsupported property.
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