OrkStageOrkStage
API referenceTemplates

POST /templates/{id}/clone

POST /templates/{id}/clone: OrkStage Control API v1 endpoint reference.

POST
/api/v1/templates/{id}/clone

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/templates/string/clone' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "displayName": "string"}'
Empty