We recommend handling EMM updates through the UI. See Setting Up Google Play for more information. Partially update a specific web token for a Google Enterprise (EMM) instance. Applies a partial update to the web token record identified by webtoken_id, modifying only the fields included in the request body and returning the updated token object.
Updatable fields:
emm — the integer ID of the associated EMM instance parent_url — the URL of the application hosting the Play Store iFrame; must use the https scheme is_active — whether the token is currently active
Security
esper_cloud_api_apiKey
- Mock serverhttps://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/{webtoken_id}
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/{webtoken_id}
curl -i -X PATCH \
'https://api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/emm/{emm_id}/webtoken/{webtoken_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"emm": 0,
"token": "string",
"parent_url": "string",
"is_active": true
}'Response
{ "id": 0, "emm": 0, "token": "string", "parent_url": "string", "is_active": true, "created_on": "2019-08-24T14:15:22Z" }