Double column
curl
API
CLI

Services /

Resume service

Resumes the given service. Optionally takes instances to resume with a given number of instances.

URL parameters

    • project

      string required

      ID of the project

    • service

      string required

      ID of the service

Request attributes

  • object

    • instances

      integer

      The number of instances to scale the service to upon resuming

API
CLI

POST /v1beta/projects/{project}/services/{service}/resume

Example request

request body

curl

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

Example response

200 OK

success

Example response

409 Conflict

The service could not be resumed as it is already paused.

© 2020 Northflank Ltd. All rights reserved.

TermsPrivacy

contact@northflank.com