Skip to content

Configure Keybox

Request

Install a keybox certificate on a Cloud Phone.

  • Preconditions: filePath must point to an .xml file, and the phone must be powered on and not held by another member.
  • Effect: hands the certificate path to the device service. MoreLogin stores nothing, and the service defines no activation step — whether the device needs a restart for the certificate to take effect is device-specific behaviour.
  • Completion: synchronous acceptance by the service. There is no endpoint that reports the installed certificate.
Security
Authorization
Bodyapplication/json
filePathstring

File path, e.g., /sdcard/Download/xxx.xml

idstring

Cloud phone ID

curl -i -X POST \
  https://api.morelogin.com/cloudphone/setKeyBox \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "filePath": "",
    "id": "0"
  }'

Responses

Success. data is a single boolean value.

Headers
any
Bodyapplication/json
codeinteger

Response code: 0 = success, >0 = error

msgstring or null
databoolean
requestIdstring

Unique request identifier; include it when contacting support

Response
{ "code": 0, "msg": null, "data": true, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }