NRN

Replace an 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}

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