v1
Double column
API
CLI
JS Client

Addons /

Upgrade addon version

Upgrades the addon to a new version.

Required permission

Project > Addons > General > Update

Path parameters

    • projectId

      string required

      ID of the project

    • addonId

      string required

      ID of the addon

Request body

  • {object}
    • version

      string required

      The version to upgrade the addon to.

Response body

  • {object}

    Response object.

    • data

      {object} required

      Result data.

    API
    CLI
    JS Client

    POST /v1/projects/{projectId}/addons/{addonId}/version

    Example request

    Request body

    curl
    curl --header "Content-Type: application/json" \
      --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
      --request POST \
      --data '{"version":"4.2.15"}' \
      https://api.northflank.com/v1/projects/{projectId}/addons/{addonId}/version

    Example response

    200 OK

    The operation was performed successfully.

    JSON

    {
      "data": {}
    }

    © 2022 Northflank Ltd. All rights reserved.