OrkStageOrkStage
API referenceIaC import

POST /imports/{id}/template

POST /imports/{id}/template: OrkStage Control API v1 endpoint reference.

POST
/api/v1/imports/{id}/template

Authorization

headerAuthorizationBearer <token>

Organization API key (scoped). Sessions use the cookie instead.

Path Parameters

id*string

Header Parameters

x-orkstage-csrf?unknown

Cookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.

Request Body

application/json
  1. body
name*string
Match^[a-z][a-z0-9-]{1,62}$
displayName*string
Length2 <= length <= 80

Response Body

curl -X POST 'http://localhost:4300/api/v1/imports/string/template' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "displayName": "string"}'
Empty