---
title: "Deploy a template discovery"
method: POST
path: "/templates/discovery/deploy"
tags: ["Templates"]
---

# Deploy a template discovery

`POST /templates/discovery/deploy`

Endpoint to deploy a template discovery.

## Request body

- object
  - `projectId` string

## Response `200`

Successful operation

- object
  - `backendServiceId` string
  - `frontendServiceId` string
  - `databaseId` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-07-14** `ed2a8d341371` — 2 warning, 1 info
  - removed the request property `backendRepoId`
  - removed the request property `frontendRepoId`
  - added the optional property `databaseId` to the response with the `200` status
- **2024-06-12** `375f1da3cbc3` — 1 warning, 4 info
  - removed the optional property `message` from the response with the `200` status
  - added the new optional request property `backendRepoId`
  - added the new optional request property `frontendRepoId`
  - added the optional property `backendServiceId` to the response with the `200` status
  - …1 more
- **2024-06-01** `5de797b1d2ed` — 3 warning, 1 info
  - removed the optional property `backendServiceId` from the response with the `200` status
  - removed the optional property `databaseId` from the response with the `200` status
  - removed the optional property `frontendServiceId` from the response with the `200` status
  - added the optional property `message` to the response with the `200` status

[Change history](https://skmtc.dev/domeplatform/apis/trydome-api/changes/templates/discovery/deploy/post.md)

---

[API](https://skmtc.dev/domeplatform/apis/trydome-api.md) · [All operations](https://skmtc.dev/domeplatform/apis/trydome-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/domeplatform/trydome-api/revisions/ed2a8d341371/schema)
