EncryptionKeys
Edit encryption key
Changed onput/encryptionKeys/edit/{encryptionKeyId}
Request
- Base URLhttps://cerebrate.local
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
encryptionKeyIdinteger required
Example:1
Numeric ID of the EncryptionKey
Request body
Example request
{
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"encryption_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----\n",
"owner_id": 1
}Response
Encryption key response
Example response
{
"id": 1,
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"encryption_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----\n",
"owner_id": 1,
"created": "2022-01-05T11:19:26+00:00",
"modified": "2022-01-05T11:19:26+00:00"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking