Namespaces

Patch a secret metadata for a namespace

Changed on
patch/api/v1/{tenant}/namespaces/{namespace}/secrets/{key}

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/{key}
  • Auth: one of:
    • HTTP bearer
    • HTTP basic

Path parameters

namespacestring required

The namespace id

keystring required

The secret key

tenantstring required

Request body

keystring required
namespacestring
descriptionstring

Example request

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

Response

patchSecret 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

    • info

      the request property / became optional