Skip to content

Retrieve a client

Request

OPA roles:
  • resource_admin
  • security_admin
  • end_user

Retrieves the properties of a specified client

Security
bearerAuth
Path
team_namestringrequired

The name of your team

client_idstringrequired

The UUID of a client

curl -i -X GET \
  'https://{org_name}.pam.okta.com/v1/teams/{team_name}/clients/{client_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
deleted_atstring, (date-time)read-onlyrequired

The date the client was deleted

descriptionstring, [ 1 .. 255 ] charactersread-onlyrequired

A description of the client

encryptedbooleanread-onlyrequired

If true, the client has detected that the local device is encrypted

hostnamestring, [ 1 .. 256 ] charactersread-onlyrequired

The hostname of the local device running the client

idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The UUID of the client

osstring, [ 1 .. 256 ] charactersread-onlyrequired

The OS of the local device running the client

statestring or null, <= 255 charactersread-onlyrequired

The state of the client: ACTIVE, PENDING, or DELETED

user_namestring or null, [ 1 .. 32 ] charactersread-onlyrequired

The user associated with the client

Response
{ "deleted_at": null, "description": "Work laptop", "encrypted": true, "hostname": "LightInAugust", "id": "9c199afe-0ca5-427a-baac-c4341707d82b", "os": "macOS 10.14.6", "state": "PENDING", "user_name": "Jason.Compson.IV" }