User Resources

The User Resources API provides operations related to User resources.

List all groups
CORS
OAuth 2.0: okta.users.read

Lists all groups of which the user is a member

Request
path Parameters
id
required
string

An ID, login, or login shortname (as long as the shortname is unambiguous) of an existing Okta user

Responses
200

Success

403

Forbidden

404

Not Found

429

Too Many Requests

get/api/v1/users/{id}/groups
Request samples
Response samples
application/json
[
  • {
    • "id": "0gabcd1234",
    • "profile": {
      }
    },
  • {
    • "id": "0gefgh5678",
    • "profile": {
      }
    }
]

List all clients
CORS
OAuth 2.0: okta.users.read

Lists all Client resources for which the specified user has grants or tokens

Request
path Parameters
userId
required
string

ID of an existing Okta user

Example: 00ub0oNGTSWTBKOLGLNR
Responses
200

Success

403

Forbidden

404

Not Found

429

Too Many Requests

get/api/v1/users/{userId}/clients
Request samples
Response samples
application/json
[]

List all devices
Identity Engine
OAuth 2.0: okta.users.read

Lists all devices enrolled by a user

Request
path Parameters
userId
required
string

ID of an existing Okta user

Example: 00ub0oNGTSWTBKOLGLNR
Responses
200

Success

400

Bad Request

403

Forbidden

429

Too Many Requests

get/api/v1/users/{userId}/devices
Request samples
Response samples
application/json
[]