Metadata rotate key

Rotate expired metadata keys for folders

Rotate the metadata of a given set of folders

post/metadata/rotate-key/folders.json

Request

Request body

metadatastring required

An armoured OpenPGP message. Its cleartext is a JSON object carrying an object_type field that names the payload, PASSBOLT_RESOURCE_METADATA for a resource, and the descriptive fields that used to travel in clear in the v4 format. The fields expected for a resource, and the two decryption paths, are described in the guide on working with v5 encrypted metadata.

metadata_key_idstring uuid required
metadata_key_type'user_key' | 'shared_key' required
idstring uuid required
modifiedstring date-time required
modified_bystring uuid required

Response

Operation is successful.

Changes

No recorded changes to this operation across all 1 revision of this API.