Skip to main content

OrgConfigApi

Use this API to implement organization configuration functionality. Administrators can use this functionality to manage organization settings, such as time zones.

All URIs are relative to https://sailpoint.api.identitynow.com

MethodHTTP requestDescription
get-org-config-v1GET /org-config/v1Get org config settings
get-valid-time-zones-v1GET /org-config/v1/valid-time-zonesGet valid time zones
patch-org-config-v1PATCH /org-config/v1Patch org config

get-org-config-v1

Get org config settings Get the current organization's configuration settings, only external accessible properties.

API Spec

Parameters

This endpoint does not need any parameter.

Return type

Orgconfig

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { OrgConfigApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new OrgConfigApi(configuration);
const result = await apiInstance.getOrgConfigV1({ });
console.log(result);

[Back to top]

get-valid-time-zones-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Get valid time zones List the valid time zones that can be set in organization configurations.

API Spec

Parameters

NameTypeDescriptionNotes
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']
limitnumberNote that for this API the maximum value for limit is 50. See V3 API Standard Collection Parameters for more information.[optional] [default to 50]
offsetnumberOffset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.[optional] [default to 0]
countbooleanIf true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.[optional] [default to false]

Return type

Array<string>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { OrgConfigApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new OrgConfigApi(configuration);
const xSailPointExperimental: string = true; // Use this header to enable this experimental API. (optional)
const limit: number = 50; // Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const offset: number = 0; // Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const count: boolean = true; // If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const result = await apiInstance.getValidTimeZonesV1({ });
console.log(result);

[Back to top]

patch-org-config-v1

Patch org config Patch the current organization's configuration, using http://jsonpatch.com/ syntax. This is commonly used to changing an organization's time zone.

API Spec

Parameters

NameTypeDescriptionNotes
jsonpatchoperationArray<Jsonpatchoperation>A list of schema attribute update operations according to the JSON Patch standard.

Return type

Orgconfig

HTTP request headers

  • Content-Type: application/json-patch+json
  • Accept: application/json

Example

import { OrgConfigApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';
import { Jsonpatchoperation } from 'sailpoint-api-client/dist/org_config/api';

const configuration = new Configuration();
const apiInstance = new OrgConfigApi(configuration);
const jsonpatchoperation: Array<Jsonpatchoperation> = [{"op":"replace","path":"/timeZone","value":"America/Toronto"}]; // A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
const result = await apiInstance.patchOrgConfigV1({ jsonpatchoperation: jsonpatchoperation });
console.log(result);

[Back to top]