Storyden
Admin

Admin O Auth Device Authorisation List

List OAuth device authorisation records. Device authorisation records are short-lived records created by the OAuth 2.0 Device Authorization Grant. They are not owned by an account until a signed-in user claims and approves or denies the user code.

List OAuth device authorisation records.

Device authorisation records are short-lived records created by the OAuth 2.0 Device Authorization Grant. They are not owned by an account until a signed-in user claims and approves or denies the user code.

GET/admin/oauth/device-authorizations
storyden-session<token>

In: cookie

Response Body

application/json

application/json

curl -X GET "https://loading/api/admin/oauth/device-authorizations"
{
  "device_authorisations": [
    {
      "id": "cc5lnd2s1s4652adtu50",
      "createdAt": "2019-08-24T14:15:22Z",
      "client_id": "cc5lnd2s1s4652adtu50",
      "user_code": "string",
      "scope": "string",
      "expires_at": "2019-08-24T14:15:22Z",
      "poll_interval_seconds": 0,
      "last_polled_at": "2019-08-24T14:15:22Z",
      "approved_by_account_id": "cc5lnd2s1s4652adtu50",
      "approved_at": "2019-08-24T14:15:22Z",
      "denied_at": "2019-08-24T14:15:22Z",
      "consumed_at": "2019-08-24T14:15:22Z"
    }
  ]
}
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}