solarOSsolarOS Docs

Enable or disable a saved company Project Template

Set isActive. Enabling validates the saved definition. isPublished is a deprecated alias and must agree if both flags are present. Only the selected template changes; revisions and committed work are preserved.

PATCH
/manifests/templates/{id}

Set isActive. Enabling validates the saved definition. isPublished is a deprecated alias and must agree if both flags are present. Only the selected template changes; revisions and committed work are preserved.

Authorization

Authorization<token>

Organization API key. Format: Bearer sk_live_...

In: header

Path Parameters

id*string

Template identifier returned by the Organization API.

Request Body

application/json

JSON request payload for setTemplateManifestAvailability.

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 PATCH "https://example.com/manifests/templates/string" \  -H "Content-Type: application/json" \  -d '{    "note": "Request payload for project-template-manifests.",    "externalReferences": [      {        "externalSystem": "crm",        "externalObject": "Project Template Manifests",        "externalId": "project-template-manifests_external_123"      }    ]  }'
{  "data": {},  "meta": {    "requestId": "string",    "version": "v1",    "timestamp": "2019-08-24T14:15:22Z",    "rateLimit": {      "limit": 0,      "remaining": 0,      "reset": 0    }  }}