ae60791ddc2d

latestOpenAPI 3.0.0zlibraw.githubusercontent.com2026-08-12287555918.4 KB
kubernetes

Update a Secret

Update 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}

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

Annotationsobject
Dataobject
Labelsobject
Namestring
SecretTypestring

Response

Success

Annotationsobject
ConfigurationOwnerstring
ConfigurationOwnerIdstring
CreationDatestring
Dataobject
IsUsedboolean
Labelsobject
Namestring
Namespacestring
SecretTypestring
UIDstring