Skip to content

List all user types

Request

OAuth 2.0 scope:
  • okta.userTypes.read

Lists all user types in your org

curl -i -X GET \
  https://subdomain.okta.com/api/v1/meta/types/user

Responses

Success

Bodyapplication/json
Array [
createdstring, (date-time)read-only

A timestamp from when the user type was created

createdBystringread-only

The user ID of the account that created the user type

defaultbooleanread-only

A boolean value to indicate if this is the default user type

descriptionstring

The human-readable description of the user type

displayNamestringrequired

The human-readable name of the user type

idstringread-only

The unique key for the user type

lastUpdatedstring, (date-time)read-only

A timestamp from when the user type was most recently updated

lastUpdatedBystringread-only

The user ID of the most recent account to edit the user type

namestringrequired

The name of the user type. The name must start with A-Z or a-z and contain only A-Z, a-z, 0-9, or underscore (_) characters. This value becomes read-only after creation and can't be updated.

]
Response
[ { "id": "otyfnly5cQjJT9PnR0g4", "displayName": "New user type", "name": "newUserType", "description": "A new custom user type", "createdBy": "sprz9fj1ycBcsgopy1d6", "lastUpdatedBy": "sprz9fj1ycBcsgopy1d6", "created": "2021-07-05T20:40:38.000Z", "lastUpdated": "2021-07-05T20:40:38.000Z", "default": false, "_links": { … } }, { "id": "otyz9fj2jMiRBC1ZT1d6", "displayName": "User", "name": "user", "description": "Okta user profile template with default permission settings", "createdBy": "sprz9fj1ycBcsgopy1d6", "lastUpdatedBy": "sprz9fj1ycBcsgopy1d6", "created": "2021-07-05T20:40:38.000Z", "lastUpdated": "2021-07-05T20:40:38.000Z", "default": true, "_links": { … } } ]