- Okta API
- Okta Identity Engine (OIE)
It is necessary to include "expand=user" in the Devices API in order for it to return the device management status:
- /api/v1/devices?expand=user
For devices API, if a value for the limit is not specified, the maximum (200) is used as a default. There might be a timeout error with the default limit:
{
"errorCode": "Request is running beyond the maximum permitted time; terminated. interceptor=CACHE startTime=1681970528867 maxRequestTime=5000",
"errorSummary": "Request timed out",
"errorLink": "Request is running beyond the maximum permitted time; terminated. interceptor=CACHE startTime=1681970528867 maxRequestTime=5000",
"errorId": "oaed_C9nP7dTSeQ96UQBO3K1w",
"errorCauses": []
}
To circumvent this issue, the limit number can be decreased to 100 or 50:
- /api/v1/devices?expand=user&limit=50
