Update public encryption key
Body
Required
-
public_key
string
PATCH
/account/update/e2ee
curl \
--request PATCH 'https://sandbox.serchservice.com/api/v1/account/update/e2ee' \
--header "X-Serch-Signed: $API_KEY" \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-Serch-Drive-Api-Key: $API_KEY" \
--header "X-Serch-Drive-Secret-Key: $API_KEY" \
--header "X-Serch-Guest-Api-Key: $API_KEY" \
--header "X-Serch-Guest-Secret-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"public_key":"string"}'
Request examples
{
"public_key": "string"
}
Response examples (200)
{
"status": "100 CONTINUE",
"code": 42,
"message": "string",
"data": "string"
}