Skip to main content
************* PRERELEASE CONTENT *************
Previous sectionNext section

PUT /api/sam/admin/target/{id}

Update an instance’s information

Description

Update the metadata for this target in the %SAM.Target table and targets.json file.

To use this endpoint, you must log in as a user with access to the %SAM.Admin resource.

Request Example

PUT /api/sam/admin/target/4

Parameters
id Required path variable. The id of the target instance to update.

Example JSON request packet: 

{
    "instance": "iris:52773",
    "name": "IRIS3",
    "description": "Local IRIS3",
    "cluster": 1
}
Copy code to clipboard