Secret Operations

Update an existing secret by id.

Requires permission matching: secret:write:default.<name>.

patch/secrets/{id}

Request

Request body

namestring

The secret name.

descriptionstring

The secret description.

Response

A secret update response.

idstring required

An opaque ID, created by Decodable, that uniquely identifies a resource.

namestring required

The secret name.

descriptionstring

The secret description.

create_timestring date-time

The date and time the resource was created.

update_timestring date-time

The date and time the resource was updated.

Example response

{
  "id": "abcd1234"
}

Changes

No recorded changes to this operation across all 1 revision of this API.