NRN

Replaces an NRN. This operation overwrites any previous value.

⚠️ Deprecation notice

This operation might be removed in the future. We recommend using Providers instead.

put/nrn/{nrn}

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/nrn/{nrn}
  • Auth
    HTTP bearer

Path parameters

nrnstring required

The NRN to update.

Request body

NrnCreate required

An object where keys represent NRN values or profiles.

Example request

{
  "aws.lambdaFunctionName": "MyFunction",
  "development::aws.log_reader_role": "dev_role",
  "production::aws.log_reader_role": "prod_role"
}

Response

The operation was successful.

nrnstring required

A system-wide unique ID for resource.

namespacesobject required

An object where each key represents a namespace, and its value is an object containing key-value pairs.

profilesobject required

An object containing the profiles available for this NRN.

Example response

{
  "nrn": "organization=1:account=2",
  "namespaces": {
    "namespaces": {
      "global": {
        "some-key": "some-value"
      }
    }
  },
  "profiles": {
    "profiles": {
      "development": {
        "some-namespace": {
          "some-key": "some-value"
        },
        "production": {
          "some-namespace": {
            "some-key": "another-value"
          }
        }
      }
    }
  }
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status