API referenceTemplates

POST /templates

POST
/templates

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/templates" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "spec": {      "name": "string"    },    "version": 0,    "visibility": "string"  }'
{  "$schema": "https://example.com/schemas/WorkspaceStatusOutputBody.json",  "status": "string"}