Okta Admin Management API
/Schemas
/- Retrieve a user schema
Unique Attributes
Add new unique custom property
Update existing custom property to be unique
Update existing unique custom property to be non-unique
Schemas
Retrieve the default app user schema for an app
Update the app user profile schema for an app
Retrieve the default group schema
Update the group profile schema
List the log stream schemas
Retrieve the log stream schema for the schema type
Update a user schema
Retrieve a user schema
OAuth 2.0 scope:
- okta.schemas.read
Admin roles:
- API_ACCESS_MANAGEMENT_ADMIN
- APP_ADMIN
- ORG_ADMIN
Permissions:
- okta.apps.manage
Retrieves the schema for a user type
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/meta/schemas/user/{schemaId}
curl -i -X GET \
'https://subdomain.okta.com/api/v1/meta/schemas/user/{schemaId}'Success
User profile subschemas
The profile object for a user is defined by a composite schema of base and custom properties using a JSON path to reference subschemas. The #base properties are defined and versioned by Okta, while #custom properties are extensible. Custom property names for the profile object must be unique and can't conflict with a property name defined in the #base subschema.
Type of root schema
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "id": "https://{yourOktaDomain}/meta/schemas/user/oscmlha7lcRyMn82P1d7", "$schema": "http://json-schema.org/draft-04/schema#", "name": "user", "title": "An Okta user", "lastUpdated": "2015-09-05T10:40:45.000Z", "created": "2015-02-02T10:27:36.000Z", "definitions": { "base": { … }, "custom": { … } }, "type": "object", "properties": { "profile": { … } } }