Namespaces

Update secrets for a namespace

Changed on
put/api/v1/{tenant}/namespaces/{namespace}/secrets

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/{tenant}/namespaces/{namespace}/secrets
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Path parameters

namespacestring required

The namespace id

tenantstring required

Request body

keystring required
valuestring required
descriptionstring

Example request

{
  "description": "description",
  "value": "value",
  "key": "key",
  "tags": [
    {
      "value": "value",
      "key": "key"
    },
    {
      "value": "value",
      "key": "key"
    }
  ]
}

Response

putSecrets 200 response

keystring required
namespacestring
descriptionstring

Example response

[
  {
    "namespace": "namespace",
    "description": "description",
    "key": "key",
    "tags": [
      {
        "value": "value",
        "key": "key"
      },
      {
        "value": "value",
        "key": "key"
      }
    ]
  }
]

Changes

    • breaking

      the response property // became optional for the status