v1
protected
secrets

Rotate Secret

Replace the stored value. Everything pointing at this secret picks up the new one.

put/v1/workspaces/{workspace}/secrets/{secret_id}/value

Path parameters

secret_idstring uuid required
workspacestring required

Slug of the workspace the request acts in

Slug of the workspace the request acts in

Request body

valuestring required

Replaces the stored value.

Response

Successful Response

created_atstring nullable
descriptionstring nullable
idstring uuid required
namestring required

Unique within the workspace.

updated_atstring nullable

Changes

Changed in 1 of the 45 revisions of this API.1