v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-27192307552.2 KB
secrets

Update Secret

Updates the attribute on a specific secret using its unique id.

Args: secret_id: ID of the secret to get. secret_update: the model containing the attributes to update. patch_values: Whether to patch the secret values or replace them.

Returns: The updated secret object.

put/api/v1/secrets/{secret_id}

Path parameters

secret_idstring uuid required

Query parameters

patch_valuesboolean nullable

Request body

namestring nullable
scope'workspace' | 'user'

Enum for the scope of a secret.

valuesobject nullable

Response

Successful Response

resourcesSecretResponseResources

Class for all resource models associated with the secret entity.

idstring uuid required
permission_deniedboolean
namestring required