API
CLI
POST /v1beta/projects/{project}/services/{service}/deployment
Example request
request body
internal
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"internal":{"internalId":"example-build-service","branch":"master","buildSHA":"latest"}}' \
https://api.northflank.com/v1beta/projects/{project}/services/{service}/deployment
OR
external
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"external":{"imagePath":"nginx:latest","registryProvider":"dockerhub","privateImage":true,"credentials":{"auths":{"https://index.docker.io/v1/":{"auth":"[YOUR AUTH KEY HERE]"}}}}}' \
https://api.northflank.com/v1beta/projects/{project}/services/{service}/deployment
Example response
200 OK
success