v1beta
Double column
curl
API
CLI

Jobs /

Edit job environment

Sets the environment variables for the given job.

URL parameters

    • project

      string required

      ID of the project

    • job

      string required

      ID of the job

Request attributes

  • object

    • runtimeEnvironment

      object required

      An object containing the all of the environment variables to set for the service

    API
    CLI

    POST /v1beta/projects/{project}/jobs/{job}/environment

    Example request

    request body

    curl

    curl --header "Content-Type: application/json" \
      --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
      --request POST \
      --data '{"runtimeEnvironment":{}}' \
      https://api.northflank.com/v1beta/projects/{project}/jobs/{job}/environment

    Example response

    200 OK

    success

    © 2021 Northflank Ltd. All rights reserved.

    TermsPrivacy

    contact@northflank.com