kubernetes
Update a Secret
Changed onUpdate a Secret in the given namespace. A nil field leaves the live value untouched, so an empty map clears it, and the secret type cannot be changed. The response carries the updated Secret's metadata only. Access policy: Authenticated user.
put/kubernetes/{id}/namespaces/{namespace}/secrets/{secret}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/kubernetes/{id}/namespaces/{namespace}/secrets/{secret}
- AuthAPI key in header X-API-KEY and API key in header Authorization
Path parameters
idinteger required
Environment identifier
namespacestring required
The namespace name where the secret is located
secretstring required
The secret name to update
Request body
Response
Success
Changes
- info
endpoint added
- info