pc source instance set enabled

POST
/v1/source-management/instance-set-enabled

Set instance business enabled state using server.admin. Repeating the same state does not restart apply. Restarting an ended run requires disable, confirmed stopped, then enable. The Runtime process stays online.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/source-management/instance-set-enabled" \  -H "Content-Type: application/json" \  -d '{    "instance_id": "string",    "enabled": true  }'
{  "targets_initialized": true,  "target_id": "string",  "instance_id": "string",  "enabled": true,  "actual": "string",  "run_id": "string",  "availability": "string",  "reused": true}