POST
/
v1
/
release-channels
curl --request POST \
  --url https://api.ctrlplane.dev/api/v1/release-channels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "deploymentId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "releaseSelector": {}
}'
{
  "id": "<string>",
  "deploymentId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "releaseSelector": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
deploymentId
string
required
name
string
required
releaseSelector
object
required
description
string | null

Response

200
application/json
Release channel created successfully
id
string
required
deploymentId
string
required
name
string
required
createdAt
string
required
description
string | null
releaseSelector
object