SenseCrypt Docs
API ReferenceAdmin Mobile App

Update Mobile App Config

PATCH/v1/admin/mobile-app

Partial update. Every validation runs before the first mutation, so a rejected request leaves the tenant's configuration untouched.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

PATCH body — partial (exclude_unset) like the Issuer page. Sending google_service_account_json: null removes the stored key; sending the field with content replaces it. Switching app_source is a confirmed action (confirm_app_switch) because it changes which app the tenant's already-enrolled devices are verified as.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/v1/admin/mobile-app" \  -H "Content-Type: application/json" \  -d '{}'
{  "app_source": "sensecrypt",  "app_name": "string",  "custom_scheme": "string",  "mode": "off",  "app_link_host": "string",  "eligible_app_link_hosts": [    "string"  ],  "android_package_name": "string",  "android_cert_sha256": [    "string"  ],  "android_verdict_level": "device",  "ios_team_id": "string",  "ios_bundle_id": "string",  "ios_appattest_require_production": true,  "ios_app_store_url": "string",  "android_play_store_url": "string",  "google_sa_fingerprint": "string",  "google_sa_client_email": "string",  "google_sa_uploaded_at": "2019-08-24T14:15:22Z",  "sensecrypt_ios_app_store_url": "string",  "sensecrypt_android_play_store_url": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}