Modify an existing target

patch

https://EM_HOST:8080/em/api/targets/{targetId}

This api modifies an existing target identified by the given id. This is a parital update of the target. Only the given parts are updated.

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 : accessPoint
the access point for this update
Match All
Show Source
Nested Schema : credentials
Type: object
Additional Properties Allowed
Show Source
the credentials to be updated
Nested Schema : properties
Type: array
the properties to be updated
Show Source
Nested Schema : NameTypePair
Type: object
A pair of name and type.
Show Source
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

Successful Response
Body ()
Root Schema : schema
Type: object
Target details
Show Source

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