Create a New Resource

Facets Deployment Controller API: POST endpoint to create a new resource in a blueprint branch, specifying its resource name and resource type.

POST
/cc-ui/v1/designer/{stackName}/branch/{branch}

Authorization

basicAuth
AuthorizationBasic <token>

In: header

Path Parameters

stackName*string
branch*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 POST "https://facetsdemo.console.facets.cloud/cc-ui/v1/designer/string/branch/string" \  -H "Content-Type: application/json" \  -d '[    {      "resourceName": "string",      "resourceType": "string"    }  ]'
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"
}