API referenceTemplates
PUT /templates/{id}/versions/{versionId}
PUT /templates/{id}/versions/{versionId}: OrkStage Control API v1 endpoint reference.
PUT
header
AuthorizationBearer <ork_<env>_<id>_<secret>>Organization API key (scoped). Sessions use the cookie instead.
id*stringversionId*stringx-orkstage-csrf?unknownCookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.
application/json- body
source*stringLength
1 <= length <= 200000curl -X PUT 'http://localhost:4000/api/v1/templates/string/versions/string' \ -H 'Content-Type: application/json' \ -d '{ "source": "string"}'Example Response200
Empty