OrkStageOrkStage
API referenceTemplates

POST /templates/{id}/versions/{versionId}/deprecate

POST /templates/{id}/versions/{versionId}/deprecate: OrkStage Control API v1 endpoint reference.

POST
/api/v1/templates/{id}/versions/{versionId}/deprecate

Authorization

headerAuthorizationBearer <ork_<env>_<id>_<secret>>

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

Path Parameters

id*string
versionId*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
note?string
Lengthlength <= 300

Response Body

Example Request
curl -X POST 'http://localhost:4000/api/v1/templates/string/versions/string/deprecate' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
Empty