Update a subset of Item attributes
PATCH /vaults/{vaultUuid}/items/{itemUuid}
Applies a modified RFC6902 JSON Patch document to an Item or ItemField. This endpoint only supports add
, remove
and replace
operations.
When modifying a specific ItemField, the ItemField’s ID in the path
attribute of the operation object: /fields/{fieldId}
Authorizations
Parameters
Path Parameters
The UUID of the Vault the item is in
The UUID of the Item to update
Request Body
object
An RFC6901 JSON Pointer pointing to the Item document, an Item Attribute, and Item Field by Field ID, or an Item Field Attribute
object
Examples
Update specific Item attributes
Add a new ItemField to the Item
Modify a specific ItemField attribute.
Modify or remove an ItemField.
Replace an entire Item with new fields. Equivalent to a PUT request.
Responses
200
OK - Item updated. If no Patch operations were provided, Item is unmodified.
object
object
object
object
For fields with a purpose of PASSWORD
this is the entropy of the value
If value is not present then a new value should be generated for this field
Some item types, Login and Password, have fields used for autofill. This property indicates that purpose and is required for some item types.
The recipe is used in conjunction with the “generate” property to set the character set used to generate a new secure value
object
List of all characters that should be excluded from generated passwords.
Length of the generated value
object
object
Base64-encoded contents of the file. Only set if size <= OP_MAX_INLINE_FILE_SIZE_KB kb and inline_files
is set to true
.
Path of the Connect API that can be used to download the contents of this file.
ID of the file
Name of the file
For files that are in a section, this field describes the section.
object
Size in bytes of the file
object
401
Invalid or missing token
object
A message detailing the error
HTTP Status Code
Example
403
Unauthorized access
object
A message detailing the error
HTTP Status Code
Example
404
Item not found
object
A message detailing the error
HTTP Status Code
Examples
Item not found
Vault not found