Skip to content
LogoLogo

Encryption

Operations related to encryption and security

Encrypt Project Shares

POST/project/encrypt

Encrypts all project shares using the provided encryption part

Request Body

application/json
encryption_partRequired
string

Encryption part for encrypting shares

Exampleencryption_part_value

Responses

200Shares encrypted successfully

Register Encryption Session

POST/project/encryption-session

Creates a one-time encryption session for secure operations

Request Body

application/json
encryption_partRequired
string

Encryption part for the session

Exampleencryption_part_value
user_id
string

User the session is opened for. Required when 2FA is enabled.

Exampleusr_1
otp_code
string

One-time password for the user. Required when 2FA is enabled.

Example123456

Responses

Register Encryption Key

POST/project/encryption-key

Generates and registers a new encryption key for the project

Responses