Update file secret

Updates the metadata and associated binary file of a file secret by ID.

Expects multipart/form-data with:

  • secretmetadata: JSON object with the following properties:
    • Title (string, required, length: 1-256)
    • Description (string, length: 1-256)
    • FileName (string, length: 1-256)
    • Owners: Array of JSON objects with the following properties:
      • UserId OR GroupId (int, required, range: 1-2147483647)
    • Notes (string, length: 1-4000)
  • file (file content)

Required Permission(s)

Any of the following:

  • Secrets Safe (Read)
  • Workforce Passwords (Read)

API Versions

  • Version 3.2 - Some properties have been deprecated. Refer to previous documentation versions if using an older API version
Language
Credentials
Header
Click Try It! to start a request and see the response here!

©2003-2025 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.