Configs/Configuration Definitions

Update a Configuration Definition

Changed on
put/config-definitions/{config-name}

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/config-definitions/{config-name}
  • Auth
    HTTP bearer

Path parameters

config-namestring required

Request body

descriptionstring required

This describes the configuration being defined

code-versionstring required

This is the code version this definition starts to become applicable

data-typestring required

This is the data type allowed for this configuration

config-def-allow-hostname'yes' | 'no'
config-def-allow-reseller-access'yes' | 'no'
tagsstring

Any tags, comma seperated, that should be applied to the defintion

Example request

{
  "data-type": "string"
}

Response

object required

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status