v1

latestOpenAPI 3.1.0BSD-32026-07-2471176175.5 KB
costformation-namespaces

Get a namespace

Retrieves a specific namespace by its identifier

get/v2/costformation/namespace/{id}

Path parameters

idstring required

The namespace identifier (FQN format)

Headers

cloudzero-idempotency-keystring

If passed, any subsequent operation with the same value for this header will return the exact same result. This is true for all responses, i.e. successes and errors.

cloudzero-test-keystring

If passed, the operation executes in the namespace specified by this key. Resource mutations in the namespace last for 1 hour.

Response

Namespace retrieved successfully

Example response

{
  "namespace": {
    "id": "User:Production",
    "view_role_ids": [
      "a1b2c3d4-5678-4abc-9def-012345678901"
    ],
    "edit_role_ids": [
      "a1b2c3d4-5678-4abc-9def-012345678901"
    ],
    "display_name": "Production"
  }
}