module Oktakit::Client::Schemas

Public Instance Methods

add_property_to_user_profile_schema(options = {}) click to toggle source

Add Property to User Profile Schema

@param options [Hash] Optional. Query params for request @param options [Hash] Optional. Header params for the request. @param options [String] Optional. The content type to accept. Default application/json @param options [String] Optional. The content type for the request. Default application/json @param options [Hash] Optional. Body params for request. @return [Hash<Sawyer::Resource>] User Schema @see developer.okta.com/docs/api/resources/schemas.html#add-property-to-user-profile-schema @example

Oktakit.add_property_to_user_profile_schema
# File lib/oktakit/client/schemas.rb, line 30
def add_property_to_user_profile_schema(options = {})
  post('/meta/schemas/user/default', options)
end
get_user_schema(options = {}) click to toggle source

Get User Schema

@param options [Hash] Optional. Query params for request @param options [Hash] Optional. Header params for the request. @param options [String] Optional. The content type to accept. Default application/json @param options [String] Optional. The content type for the request. Default application/json @param options [Hash] Optional. Body params for request. @return [Hash<Sawyer::Resource>] User Schema @see developer.okta.com/docs/api/resources/schemas.html#get-user-schema @example

Oktakit.get_user_schema
# File lib/oktakit/client/schemas.rb, line 15
def get_user_schema(options = {})
  get('/meta/schemas/user/default', options)
end
remove_property_from_user_profile_schema(options = {}) click to toggle source

Remove Property from User Profile Schema

@param options [Hash] Optional. Query params for request @param options [Hash] Optional. Header params for the request. @param options [String] Optional. The content type to accept. Default application/json @param options [String] Optional. The content type for the request. Default application/json @param options [Hash] Optional. Body params for request. @return [Hash<Sawyer::Resource>] User Schema @see developer.okta.com/docs/api/resources/schemas.html#remove-property-from-user-profile-schema @example

Oktakit.remove_property_from_user_profile_schema
# File lib/oktakit/client/schemas.rb, line 60
def remove_property_from_user_profile_schema(options = {})
  post('/meta/schemas/user/default', options)
end
update_user_profile_schema_property(options = {}) click to toggle source

Update User Profile Schema Property

@param options [Hash] Optional. Query params for request @param options [Hash] Optional. Header params for the request. @param options [String] Optional. The content type to accept. Default application/json @param options [String] Optional. The content type for the request. Default application/json @param options [Hash] Optional. Body params for request. @return [Hash<Sawyer::Resource>] User Schema @see developer.okta.com/docs/api/resources/schemas.html#update-user-profile-schema-property @example

Oktakit.update_user_profile_schema_property
# File lib/oktakit/client/schemas.rb, line 45
def update_user_profile_schema_property(options = {})
  post('/meta/schemas/user/default', options)
end