v1beta
Double column
curl
API
CLI

Services /

Set Docker CMD Override

Sets the Docker CMD override for the given service.

URL parameters

    • project

      string required

      ID of the project

    • service

      string required

      ID of the service

Request attributes

  • object

    • cmd

      string required

      The CMD to run, or null to disable the override.

API
CLI

POST /v1beta/projects/{project}/services/{service}/cmd-override

Example request

request body

curl

curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data '{"cmd":"nginx -g"}' \
  https://api.northflank.com/v1beta/projects/{project}/services/{service}/cmd-override

Example response

200 OK

success

© 2021 Northflank Ltd. All rights reserved.

TermsPrivacy

contact@northflank.com