Okta.Sdk.Api.OrgSettingCustomizationApi
October 22, 2025 ยท View on GitHub
All URIs are relative to https://subdomain.okta.com
| Method | HTTP request | Description |
|---|---|---|
| GetOrgPreferences | GET /api/v1/org/preferences | Retrieve the org preferences |
| SetOrgHideOktaUIFooter | POST /api/v1/org/preferences/hideEndUserFooter | Set the hide dashboard footer preference |
| SetOrgShowOktaUIFooter | POST /api/v1/org/preferences/showEndUserFooter | Set the show dashboard footer preference |
| UploadOrgLogo | POST /api/v1/org/logo | Upload the org logo |
GetOrgPreferences
OrgPreferences GetOrgPreferences ()
Retrieve the org preferences
Retrieves preferences of your Okta org
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetOrgPreferencesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrgSettingCustomizationApi(config);
try
{
// Retrieve the org preferences
OrgPreferences result = apiInstance.GetOrgPreferences();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling OrgSettingCustomizationApi.GetOrgPreferences: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SetOrgHideOktaUIFooter
OrgPreferences SetOrgHideOktaUIFooter ()
Set the hide dashboard footer preference
Sets the preference to hide the Okta End-User Dashboard footer for all end users of your org
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class SetOrgHideOktaUIFooterExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrgSettingCustomizationApi(config);
try
{
// Set the hide dashboard footer preference
OrgPreferences result = apiInstance.SetOrgHideOktaUIFooter();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling OrgSettingCustomizationApi.SetOrgHideOktaUIFooter: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SetOrgShowOktaUIFooter
OrgPreferences SetOrgShowOktaUIFooter ()
Set the show dashboard footer preference
Sets the preference to show the Okta UI footer for all end users of your org
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class SetOrgShowOktaUIFooterExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrgSettingCustomizationApi(config);
try
{
// Set the show dashboard footer preference
OrgPreferences result = apiInstance.SetOrgShowOktaUIFooter();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling OrgSettingCustomizationApi.SetOrgShowOktaUIFooter: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UploadOrgLogo
void UploadOrgLogo (System.IO.Stream file)
Upload the org logo
Uploads and replaces the logo for your organization
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class UploadOrgLogoExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new OrgSettingCustomizationApi(config);
var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream | The file must be in PNG, JPG, or GIF format and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.
try
{
// Upload the org logo
apiInstance.UploadOrgLogo(file);
}
catch (ApiException e)
{
Debug.Print("Exception when calling OrgSettingCustomizationApi.UploadOrgLogo: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| file | System.IO.Stream****System.IO.Stream | The file must be in PNG, JPG, or GIF format and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]