Enable/Disable Resources in an Environment

Facets Deployment Controller API: PUT endpoint to enable or disable resources in an environment cluster, toggling each resource by type and name.

PUT
/cc-ui/v1/clusters/{clusterId}/resource-enable-disable

Authorization

basicAuth
AuthorizationBasic <token>

In: header

Path Parameters

clusterId*string

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

curl -X PUT "https://facetsdemo.console.facets.cloud/cc-ui/v1/clusters/string/resource-enable-disable" \  -H "Content-Type: application/json" \  -d '[    {}  ]'
Empty
{
  "approvalUrl": "string",
  "code": "string",
  "errorCode": "string",
  "message": "string",
  "missingPermissions": [
    "string"
  ]
}
"string"
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}