PUT /secret_items/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/secret_items/:id

Update Secret by id.

Updates a Secret's description or key. The stored value is only replaced when change_value is passed as true together with a new value.

Params

Param name Description
key
Optional Blank value allowed

Key

  • Must be a String

value
Optional Blank value allowed

The secret’s value, such as an API key or credential, stored encrypted so it can be referenced elsewhere without exposing it directly.

  • Must be a String

description
Optional Blank value allowed

Description

  • Must be a String

change_value
Optional Blank value allowed

Set to true to replace the stored value with the value given in this request; otherwise the existing value is kept.

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off