solarOS Organization API

Organization API

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.

/api/v1/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.

Enable or disable a saved company Project Template. Use any valid organization API key. Check the response envelope and meta.requestId before triggering dependent workflow steps.

Required scopes

Any valid organization API key

Parameters

NameInTypeDescription
idrequiredpathstringTemplate identifier returned by the Organization API.

Request body

objectrequired
FieldTypeDescription
isActivebooleanOptional unless marked required.
isPublishedbooleanOptional unless marked required.
settemplatemanifestavailabilityRequest
{
  "note": "Request payload for project-template-manifests.",
  "externalReferences": [
    {
      "externalSystem": "crm",
      "externalObject": "Project Template Manifests",
      "externalId": "project-template-manifests_external_123"
    }
  ]
}

Responses

200

Template availability

#/components/schemas/OrgApiResourceEnvelope

400

Invalid flags or workflow configuration

#/components/schemas/OrgApiError

401

Missing or invalid organization API key

#/components/schemas/OrgApiError

402

Organization billing access or an endpoint-specific business quota denied the request

#/components/schemas/OrgApiError

404

Company template not found

#/components/schemas/OrgApiError

429

Rate limit exceeded

#/components/schemas/OrgApiError

Errors

400 Invalid flags or workflow configuration401 Missing or invalid organization API key402 Organization billing access or an endpoint-specific business quota denied the request404 Company template not found429 Rate limit exceeded

Static examples

curl -X PATCH "$SOLAROS_BASE_URL/api/v1/manifests/templates/$SOLAROS_TEMPLATE" \
  -H "Authorization: Bearer $SOLAROS_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"note":"Request payload for project-template-manifests.","externalReferences":[{"externalSystem":"crm","externalObject":"Project Template Manifests","externalId":"project-template-manifests_external_123"}]}'