Directory API Chromeosdevices status

50 views
Skip to first unread message

Jason Sadler

unread,
Jan 10, 2020, 5:30:37 PM1/10/20
to Google App Engine
I'm querying Chromeosdevices in the admin directory API filtering by status. The API docs list valid statuses as:
  • "ACTIVE": The device is enrolled into the domain.
  • "DELINQUENT": The annual license for the domain has expired and the device no longer receives policies and settings. When a new license is purchased, the device will return to ACTIVE state.
  • "DEPROVISIONED":
    The device is no longer eligible to be enrolled into the domain. The order has been cancelled. The device's settings have been cached on the device. If the device is activated again, the latest system settings are applied to this newly activated device.
  • "DISABLED": The device has been disabled by the administrator and cannot be used.
  • "INACTIVE": The device is not enrolled into the domain.
  • "RETURN_ARRIVED": The request to replace this device has arrived.
  • "RETURN_REQUESTED": A request has been made to replace this device.
  • "SHIPPED": The device is shipped. For details on how to track a shipped device, see the Chrome help center.
  • "UNKNOWN"
When I query by "RETURN_ARRIVED", "RETURN_REQUESTED", or "UNKNOWN", I get the following error. Are these statuses no longer valid:

{

 "error": {

  "errors": [

   {

    "domain": "global",

    "reason": "invalid",

    "message": "Invalid Input: status:UNKNOWN"

   }

  ],

  "code": 400,

  "message": "Invalid Input: status:UNKNOWN"

 }

}

Olu

unread,
Jan 13, 2020, 11:59:14 AM1/13/20
to Google App Engine
This issue seems more about the Google Admin Directory API which is part of the GSuite Admin SDK[1] and not the Google App Engine or the Google Cloud Platform. For better support on the Directory API, I recommend you reach out to the GSuite Support team[2] or the GSuite Help Community[3]

Reply all
Reply to author
Forward
0 new messages