POST /api/sam/admin/target
Add an instance to SAM
Description
This method adds the provided InterSystems IRIS® data platform instance to the targets.json file and %SAM.Target table.
To use this endpoint, you must log in as a user with access to the %SAM.Admin resource.
Request Example
POST /api/sam/admin/target
Example JSON request packet:
{ "name": "IRIS3", "description": "Local IRIS3", "cluster": 1, "instance": "iris:52773" }
Response Example
{ "id": 4 }