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.

Note: To list all groups in your org, use the List all groups endpoints in the Groups API.

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.

Note: To list all client resources for which a specified authorization server has tokens, use the List all client resources for an authorization server in the Authorization Servers API.

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.

Note: To list all devices registered to an org, use the List all devices endpoint in the Devices API.

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
[]