Update the default Application User Schema for an Application
POST {{baseUrl}}/api/v1/meta/schemas/apps/:appInstanceId/default
Partially updates on the User Profile properties of the Application User Schema
Request Body
{"definitions"=>{"custom"=>{"id"=>"#custom", "type"=>"object", "properties"=>{"twitterUserName"=>{"title"=>"Twitter username", "description"=>"User's username for twitter.com", "type"=>"string", "required"=>false, "minLength"=>1, "maxLength"=>20}}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"https://{yourOktaDomain}/meta/schemas/apps/0oa25gejWwdXNnFH90g4/default","$schema":"http://json-schema.org/draft-04/schema#","name":"Example App","title":"Example App User","lastUpdated":"2017-07-18T23:18:43.000Z","created":"2017-07-18T22:35:30.000Z","definitions":{"base":{"id":"#base","type":"object","properties":{"userName":{"title":"Username","type":"string","required":true,"scope":"NONE","maxLength":100}},"required":["userName"]},"custom":{"id":"#custom","type":"object","properties":{"twitterUserName":{"title":"Twitter username","description":"User's username for twitter.com","type":"string","scope":"NONE","minLength":1,"maxLength":20}},"required":[]}},"type":"object","properties":{"profile":{"allOf":[{"$ref":"#/definitions/base"},{"$ref":"#/definitions/custom"}]}}}