Subscribe enterprise to receive usage logs
Currently, I am trying to implement lost mode notifications with push pubsub and I need to subscribe enterprise to receive usage logs. When I try to use the following json to patch my enterprise (a chunk related to usage logs):
"enabledNotificationTypes": [
"ENROLLMENT",
"STATUS_REPORT",
"USAGE_LOGS",
"COMMAND"
]
I receive only "ENROLLMENT", "STATUS_REPORT" and "COMMAND" in response json. And as expected no location event logs are being pushed from the pubsub. Do I need extra configuration to use USAGE_LOGS or something?
Response example json:
{
"name": "enterprises/enterpriseName",
"enabledNotificationTypes": [
"ENROLLMENT",
"STATUS_REPORT",
"COMMAND"
],
"pubsubTopic": "projects/projectId/topics/topicName",
}