put
https://example.com/beyondtrust/api/public/v3/secrets-safe/secrets//file
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
