---
title: "Toggle MetaTemplate enabled/disabled"
method: POST
path: "/metaTemplates/toggle/{metaTemplateId}/enabled"
tags: ["MetaTemplates"]
---

# Toggle MetaTemplate enabled/disabled

`POST /metaTemplates/toggle/{metaTemplateId}/enabled`

## Path parameters

- `metaTemplateId` integer, required

## Response `200`

MetaTemplate response

- MetaTemplate
  - `id` integer
  - `scope` 'organisation'
  - `name` string
  - `namespace` string
  - `description` string
  - `version` string
  - `uuid` string, uuid
  - `source` string
  - `enabled` boolean
  - `is_default` boolean
  - `created` string, datetime
  - `modified` string, datetime

## Other responses

- `403` — Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.
- `405` — Method not allowed. Your User Role is not allowed to access this resource.
- `default` — Unexpected API error

---

[API](https://skmtc.net/cerebrate-project/apis/cerebrate-project-api.md) · [All operations](https://skmtc.net/cerebrate-project/apis/cerebrate-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cerebrate-project/cerebrate-project-api/versions/50eb2c1b04b4/schema)
