okta.userTypes.read
Lists all user types in your org
Success
Forbidden
Too Many Requests
[- {
- "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": {
}
}
]
okta.userTypes.manage
Creates a new user type. Okta automatically creates a default
user type for your org. You may add up to nine additional user types.
Note: New user types are based on the current default schema template. Modifications to this schema do not automatically propagate to previously created user types.
Success
Bad Request
Forbidden
Too Many Requests
{- "description": "A new custom user type",
- "displayName": "New user type",
- "name": "newUserType"
}
{- "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": {
}
}
okta.userTypes.read
Retrieves a user type by ID. Use default
to fetch the default user type.
Success
Forbidden
Not Found
Too Many Requests
{- "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": {
}
}
okta.userTypes.manage
Updates an existing user type. This operation is a partial update.
Note: You can only update the
displayName
anddescription
elements. Thename
of an existing user type can't be changed.
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "displayName": "Updated Display Name"
}
{- "id": "otyfnly5cQjJT9PnR0g4",
- "displayName": "Updated Display Name",
- "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": {
}
}
okta.userTypes.manage
Replaces an existing user type. This operation is a full update.
Note: The
name
of an existing user type can't be changed, but must be part of the request body. You can only replace thedisplayName
anddescription
elements.
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "displayName": "Replacement Display Name",
- "description": "Replacement description",
- "name": "newUserType"
}
{- "id": "otyfnly5cQjJT9PnR0g4",
- "displayName": "Replacement Display Name",
- "name": "newUserType",
- "description": "Replacement description",
- "createdBy": "sprz9fj1ycBcsgopy1d6",
- "lastUpdatedBy": "sprz9fj1ycBcsgopy1d6",
- "created": "2021-07-05T20:40:38.000Z",
- "lastUpdated": "2021-07-05T20:40:38.000Z",
- "default": false,
- "_links": {
}
}
okta.userTypes.manage
Deletes a user type permanently.
Note: You can't delete the default user type or a user type that is currently assigned to users.
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}