Items
Update an Item
put/vaults/{vaultUuid}/items/{itemUuid}
Request
- Base URLhttp://localhost:8080/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
vaultUuidstring required
The UUID of the Item's Vault
itemUuidstring required
The UUID of the Item to update
Request body
Example request
{
"urls": [
{
"primary": true,
"href": "https://example.com"
},
{
"href": "https://example.org"
}
],
"fields": [
{
"recipe": {
"excludeCharacters": "abc1"
}
}
],
"files": [
{
"id": "6r65pjq33banznomn7q22sj44e",
"name": "foo.txt",
"size": 35,
"content_path": "v1/vaults/ionaiwtdvgclrixbt6ztpqcxnq/items/p7eflcy7f5mk7vg6zrzf5rjjyu/files/6r65pjq33banznomn7q22sj44e/content",
"content": "VGhlIGZ1dHVyZSBiZWxvbmdzIHRvIHRoZSBjdXJpb3VzLgo="
}
]
}Response
OK
Example response
{
"urls": [
{
"primary": true,
"href": "https://example.com"
},
{
"href": "https://example.org"
}
],
"fields": [
{
"recipe": {
"excludeCharacters": "abc1"
}
}
],
"files": [
{
"id": "6r65pjq33banznomn7q22sj44e",
"name": "foo.txt",
"size": 35,
"content_path": "v1/vaults/ionaiwtdvgclrixbt6ztpqcxnq/items/p7eflcy7f5mk7vg6zrzf5rjjyu/files/6r65pjq33banznomn7q22sj44e/content",
"content": "VGhlIGZ1dHVyZSBiZWxvbmdzIHRvIHRoZSBjdXJpb3VzLgo="
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.