The Okta UI Schema API allows you to control how inputs appear on an enrollment form. The UI Schema API is only available as a part of Okta Identity Engine.
If you're not sure which solution you're using, check the footer on any page of the Admin Console. The version number is appended with E for Identity Engine orgs and C for Classic Engine orgs.
okta.uischemas.read
Lists all UI Schemas in your org
Success
Forbidden
Too Many Requests
[- {
- "id": "uis4a7liocgcRgcxZ0g7",
- "uiSchema": {
- "type": "Group",
- "label": "Sign in",
- "buttonLabel": "Submit",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName",
- "label": "First name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/lastName",
- "label": "Last name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/email",
- "label": "Email",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/countryCode",
- "label": "Country code",
- "options": {
- "format": "select"
}
}, - {
- "type": "Control",
- "scope": "#/properties/bool2",
- "label": "bool2",
- "options": {
- "format": "checkbox"
}
}, - {
- "type": "Control",
- "scope": "#/properties/date",
- "label": "date",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/enum",
- "label": "enum",
- "options": {
- "format": "radio"
}
}
]
}, - "created": "2022-07-25T12:56:31.000Z",
- "lastUpdated": "2022-07-26T11:53:59.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}
}
}, - {
- "id": "uis4abjqkkKXVPGAU0g7",
- "uiSchema": {
- "type": "Group",
- "label": "Sign in 2",
- "buttonLabel": "Submit",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName",
- "label": "First name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/lastName",
- "label": "Last name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/email",
- "label": "Email",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/countryCode",
- "label": "Country code",
- "options": {
- "format": "select"
}
}, - {
- "type": "Control",
- "scope": "#/properties/bool2",
- "label": "bool2",
- "options": {
- "format": "checkbox"
}
}, - {
- "type": "Control",
- "scope": "#/properties/date",
- "label": "date"
}, - {
- "type": "Control",
- "scope": "#/properties/enum",
- "label": "enum",
- "options": {
- "format": "radio"
}
}
]
}, - "created": "2022-07-25T12:56:31.000Z",
- "lastUpdated": "2022-07-26T11:53:59.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}
}
}
]
okta.uischemas.manage
Creates an input for an enrollment form
Success
Bad Request
Forbidden
Too Many Requests
{- "uiSchema": {
- "type": "Group",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName",
- "label": "First Name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/lastName",
- "label": "Last Name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/email",
- "label": "Primary email",
- "options": {
- "format": "text"
}
}
], - "buttonLabel": "Submit",
- "label": "Sign in"
}
}
{- "id": "uis4a7liocgcRgcxZ0g7",
- "uiSchema": {
- "type": "Group",
- "label": "Sign in",
- "buttonLabel": "Submit",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName",
- "label": "First name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/lastName",
- "label": "Last name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/email",
- "label": "Primary email",
- "options": {
- "format": "text"
}
}
]
}, - "created": "2022-07-25T12:56:31.000Z",
- "lastUpdated": "2022-07-26T11:53:59.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.uischemas.read
Retrieves a UI Schema by id
Success
Forbidden
Not Found
Too Many Requests
{- "id": "uis4a7liocgcRgcxZ0g7",
- "uiSchema": {
- "type": "Group",
- "label": "Sign in",
- "buttonLabel": "Submit",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName",
- "label": "First name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/lastName",
- "label": "Last name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/email",
- "label": "Email",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/countryCode",
- "label": "Country code",
- "options": {
- "format": "select"
}
}, - {
- "type": "Control",
- "scope": "#/properties/bool2",
- "label": "bool2",
- "options": {
- "format": "checkbox"
}
}, - {
- "type": "Control",
- "scope": "#/properties/date",
- "label": "date"
}, - {
- "type": "Control",
- "scope": "#/properties/enum",
- "label": "enum",
- "options": {
- "format": "radio"
}
}
]
}, - "created": "2022-07-25T12:56:31.000Z",
- "lastUpdated": "2022-07-26T11:53:59.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.uischemas.manage
Replaces a UI Schema by id
object (UISchemaObject) Properties of the UI schema | |||||||||||||||||||
|
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "uiSchema": {
- "type": "Group",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName",
- "label": "First Name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/lastName",
- "label": "Last Name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/email",
- "label": "Primary email",
- "options": {
- "format": "text"
}
}
], - "buttonLabel": "Submit",
- "label": "Sign in"
}
}
{- "id": "uis4a7liocgcRgcxZ0g7",
- "uiSchema": {
- "type": "Group",
- "label": "Sign in",
- "buttonLabel": "Submit",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName",
- "label": "First name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/lastName",
- "label": "Last name",
- "options": {
- "format": "text"
}
}, - {
- "type": "Control",
- "scope": "#/properties/email",
- "label": "Primary email",
- "options": {
- "format": "text"
}
}
]
}, - "created": "2022-07-25T12:56:31.000Z",
- "lastUpdated": "2022-07-26T11:53:59.000Z",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}
}
}
okta.uischemas.manage
Deletes a UI Schema by id
No Content
Bad Request
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000001",
- "errorSummary": "Api validation failed: {0}",
- "errorLink": "E0000001",
- "errorId": "sampleiCF-8D5rLW6myqiPItW",
- "errorCauses": [ ]
}