diff --git a/.github/workflows/build-go-sdk.yml b/.github/workflows/build-go-sdk.yml index e71e7ff9..054cb411 100644 --- a/.github/workflows/build-go-sdk.yml +++ b/.github/workflows/build-go-sdk.yml @@ -37,7 +37,6 @@ jobs: with: node-version: "16" - - name: Run Prescript id: prescript run: | @@ -62,26 +61,8 @@ jobs: java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk/v2 --git-user-id sailpoint-oss node sdk-resources/postscript.js ./api_beta - - name: Build V2 SDK - id: buildV2 - if: steps.buildBeta.outcome == 'success' - run: | - cd golang-sdk - rm -rf ./api_v2 - java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.v2.yaml -g go -o api_v2 --global-property skipFormModel=false --config sdk-resources/v2-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk/v2 --git-user-id sailpoint-oss - node sdk-resources/postscript.js ./api_v2 - - - name: Build CC SDK - id: buildCC - if: steps.buildV2.outcome == 'success' - run: | - cd golang-sdk - rm -rf ./api_cc - java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.cc.yaml -g go -o api_cc --global-property skipFormModel=false --config sdk-resources/cc-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk/v2 --git-user-id sailpoint-oss - node sdk-resources/postscript.js ./api_cc - - name: After SDK Build - if: steps.buildCC.outcome == 'success' + if: steps.buildBeta.outcome == 'success' run: | cd golang-sdk/ go get -d ./... @@ -101,4 +82,4 @@ jobs: git remote -v - git push \ No newline at end of file + git push diff --git a/.github/workflows/build-powershell-sdk.yml b/.github/workflows/build-powershell-sdk.yml index 08cce772..9931d917 100644 --- a/.github/workflows/build-powershell-sdk.yml +++ b/.github/workflows/build-powershell-sdk.yml @@ -55,33 +55,16 @@ jobs: java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.beta.yaml -g powershell -o PSSailpoint/beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml node sdk-resources/postscript.js ./PSSailpoint/beta - - name: Build V2 SDK - id: buildV2 - if: steps.buildBeta.outcome == 'success' - run: | - cd powershell-sdk - rm -rf ./PSSailpoint/v2 - java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.v2.yaml -g powershell -o PSSailpoint/v2 --global-property skipFormModel=false --config sdk-resources/v2-config.yaml - - - name: Build CC SDK - id: buildCC - if: steps.buildV2.outcome == 'success' - run: | - cd powershell-sdk - rm -rf ./PSSailpoint/cc - java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.cc.yaml -g powershell -o PSSailpoint/cc --global-property skipFormModel=false --config sdk-resources/cc-config.yaml - node sdk-resources/postscript.js ./PSSailpoint/cc - - name: After SDK Generation id: buildSDK - if: steps.buildCC.outcome == 'success' + if: steps.buildBeta.outcome == 'success' shell: pwsh run: | cd powershell-sdk ./PSSailpoint/Build.ps1 $DebugPreference="Continue" Import-Module -Name '.\PSSailpoint' -Verbose - + - name: After SDK Build if: steps.buildSDK.outcome == 'success' run: | @@ -99,4 +82,4 @@ jobs: git remote -v - git push \ No newline at end of file + git push diff --git a/.github/workflows/build-python-sdk.yml b/.github/workflows/build-python-sdk.yml index 603a90bd..5635b31e 100644 --- a/.github/workflows/build-python-sdk.yml +++ b/.github/workflows/build-python-sdk.yml @@ -40,8 +40,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.x' - + python-version: "3.x" + - name: Run Prescript id: prescript run: | @@ -65,24 +65,8 @@ jobs: java -jar openapi-generator-cli-7.0.1.jar generate -i ../idn/sailpoint-api.beta.yaml -g python -o sailpoint --global-property skipFormModel=false --config sdk-resources/beta-config.yaml --enable-post-process-file node sdk-resources/postscript.js ./sailpoint/beta - - name: Build V2 SDK - id: buildV2 - if: steps.buildBeta.outcome == 'success' - run: | - cd python-sdk - rm -rf ./sailpoint/v2 - java -jar openapi-generator-cli-7.0.1.jar generate -i ../idn/sailpoint-api.v2.yaml -g python -o sailpoint --global-property skipFormModel=false --config sdk-resources/v2-config.yaml --enable-post-process-file - - - name: Build CC SDK - id: buildCC - if: steps.buildV2.outcome == 'success' - run: | - cd python-sdk - rm -rf ./sailpoint/cc - java -jar openapi-generator-cli-7.0.1.jar generate -i ../idn/sailpoint-api.cc.yaml -g python -o sailpoint/ --global-property skipFormModel=false --config sdk-resources/cc-config.yaml --enable-post-process-file - - name: After SDK Build - if: steps.buildCC.outcome == 'success' + if: steps.buildBeta.outcome == 'success' run: | cd python-sdk/ pip install -r requirements.txt @@ -102,4 +86,4 @@ jobs: git remote -v - git push \ No newline at end of file + git push diff --git a/.github/workflows/build-typescript-sdk.yml b/.github/workflows/build-typescript-sdk.yml index 54e00041..adbb0c95 100644 --- a/.github/workflows/build-typescript-sdk.yml +++ b/.github/workflows/build-typescript-sdk.yml @@ -36,7 +36,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: "16" - + - name: Build V3 SDK id: buildV3 run: | @@ -52,31 +52,15 @@ jobs: rm -rf sdk-output/beta java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.beta.yaml -g typescript-axios -o sdk-output/beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml --api-name-suffix BetaApi --model-name-suffix Beta - - name: Build V2 SDK - id: buildV2 - if: steps.buildBeta.outcome == 'success' - run: | - cd sdk-ts - rm -rf sdk-output/v2 - java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.v2.yaml -g typescript-axios -o sdk-output/v2 --global-property skipFormModel=false --config sdk-resources/v2-config.yaml --api-name-suffix V2Api --model-name-suffix V2 - - - name: Build CC SDK - id: buildCC - if: steps.buildV2.outcome == 'success' - run: | - cd sdk-ts - rm -rf sdk-output/cc - java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.cc.yaml -g typescript-axios -o sdk-output/cc --global-property skipFormModel=false --config sdk-resources/cc-config.yaml --api-name-suffix CCApi --model-name-suffix CC - - name: Run npm install and build Typescript SDK id: buildSDK - if: steps.buildCC.outcome == 'success' + if: steps.buildBeta.outcome == 'success' run: | cd sdk-ts/sdk-output npm install npm run build npm run test - + - name: After SDK Build if: steps.buildSDK.outcome == 'success' run: | diff --git a/idn/sailpoint-api.cc.yaml b/idn/sailpoint-api.cc.yaml deleted file mode 100644 index b75ed038..00000000 --- a/idn/sailpoint-api.cc.yaml +++ /dev/null @@ -1,1205 +0,0 @@ -openapi: 3.0.0 -info: - title: IdentityNow cc (private) APIs - version: 1.0.0 -servers: - - url: https://{tenant}.api.identitynow.com - description: This is the production API server. - variables: - tenant: - default: sailpoint - description: - This is the name of your tenant, typically your company's name. - - url: https://{apiUrl} - description: This is the CC API server. - variables: - apiUrl: - default: sailpoint.api.identitynow.com - description: This is the api url of your tenant -components: - securitySchemes: - UserContextAuth: - type: oauth2 - description: | - OAuth2 Bearer token (JWT). See [IdentityNow REST API Authentication](https://developer.sailpoint.com/idn/api/authentication) for more information. - - Directions for generating a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) - - Directions using [client credentials flow](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) - - Directions for using [authorization code flow](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow) - - Which authentication method should I choose? See our [guide](https://developer.sailpoint.com/idn/api/authentication#which-oauth-20-grant-flow-should-i-use) - - Learn more about how to find your `tokenUrl` and `authorizationUrl` [in our docs](https://developer.sailpoint.com/idn/api/authentication#find-your-tenants-oauth-details) - flows: - clientCredentials: - tokenUrl: https://tenant.api.identitynow.com/oauth/token - scopes: - "sp:scopes:default": "default scope" - "sp:scopes:all": "access to all scopes" - authorizationCode: - authorizationUrl: https://tenant.login.sailpoint.com/oauth/authorize - tokenUrl: https://tenant.api.identitynow.com/oauth/token - scopes: - "sp:scopes:default": "default scope" - "sp:scopes:all": "access to all scopes" -tags: - - name: Accounts - - name: Applications - - name: Connectors - - name: User - - name: Sources > Aggregation - - name: Sources > Accounts - - name: System -paths: - /cc/api/account/list: - get: - tags: - - Accounts - summary: List Accounts - operationId: listAccounts - security: - - UserContextAuth: [] - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: array - items: - type: object - properties: - id: - type: string - example: 17248154 - type: - type: string - example: SYSTEM_CONTROLLED - displayName: - type: string - example: tyler.mairose - username: - type: string - example: tyler.mairose - passwordRequired: - type: boolean - passwordProvided: - type: boolean - apps: - type: array - items: - type: object - ssoMethod: - type: string - example: NONE - idEncryption: - type: string - example: NONE - passwordEncryption: - type: string - example: NONE - lastPasswdChange: - type: string - nullable: true - serviceName: - type: string - example: airtable v4 - dateDisabled: - type: string - nullable: true - accountServiceId: - type: integer - format: int32 - example: 44663 - serviceId: - type: integer - format: int32 - example: 44663 - pendingPasswordRequestId: - type: string - nullable: true - passwordChangeStatus: - type: string - example: SUCCESS - passwordChangeResult: - type: object - properties: - completionStatus: - type: string - example: SUCCESS - /cc/api/account/remove/{id}: - post: - tags: - - Accounts - summary: Remove Account - operationId: removeAccount - security: - - UserContextAuth: [] - parameters: - - name: id - in: path - schema: - type: string - example: 12345 - required: true - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/app/list: - get: - tags: - - Applications - summary: List Applications - operationId: listApplications - security: - - UserContextAuth: [] - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: array - items: - type: object - properties: - id: - type: string - appId: - type: string - serviceId: - type: string - serviceAppId: - type: string - name: - type: string - description: - type: string - appCenterEnabled: - type: boolean - provisionRequestEnabled: - type: boolean - controlType: - type: string - mobile: - type: boolean - privateApp: - type: boolean - scriptName: - type: string - status: - type: string - icon: - type: string - health: - type: object - properties: - status: - type: string - lastChanged: - type: string - since: - type: number - healthy: - type: boolean - enableSso: - type: boolean - ssoMethod: - type: string - hasLinks: - type: boolean - hasAutomations: - type: boolean - stepUpAuthData: - type: object - stepUpAuthType: - type: string - usageAnalytics: - type: boolean - usageCertRequired: - type: boolean - usageCertText: - type: object - launchpadEnabled: - type: boolean - passwordManaged: - type: boolean - owner: - type: object - properties: - id: - type: string - name: - type: string - dateCreated: - type: number - lastUpdated: - type: number - defaultAccessProfile: - type: object - service: - type: string - selectedSsoMethod: - type: string - supportedSsoMethods: - type: number - offNetworkBlockedRoles: - type: object - supportedOffNetwork: - type: string - accountServiceId: - type: number - launcherCount: - type: number - accountServiceName: - type: string - accountServiceExternalId: - type: string - accountServiceMatchAllAccounts: - type: boolean - externalId: - type: string - accountServiceUseForPasswordManagement: - type: boolean - accountServicePolicyId: - type: string - accountServicePolicyName: - type: string - requireStrongAuthn: - type: boolean - accountServicePolicies: - type: array - items: - type: object - properties: - policyId: - type: string - policyName: - type: string - selectors: - type: object - xsdVersion: - type: string - appProfiles: - type: array - items: - type: object - properties: - id: - type: number - filename: - type: string - createdBy: - type: string - dateCreated: - type: string - xsdVersion: - type: string - passwordServiceId: - type: number - accessProfileIds: - type: array - items: - type: string - /cc/api/app/get/{id}: - get: - tags: - - Applications - summary: Get Single Application - operationId: GetApplication - security: - - UserContextAuth: [] - parameters: - - name: id - in: path - schema: - type: string - example: 12345 - required: true - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - properties: - id: - type: string - appId: - type: string - serviceId: - type: string - serviceAppId: - type: string - name: - type: string - description: - type: string - appCenterEnabled: - type: boolean - provisionRequestEnabled: - type: boolean - controlType: - type: string - mobile: - type: boolean - privateApp: - type: boolean - scriptName: - type: string - status: - type: string - icon: - type: string - health: - type: object - properties: - status: - type: string - lastChanged: - type: string - since: - type: number - healthy: - type: boolean - enableSso: - type: boolean - ssoMethod: - type: string - hasLinks: - type: boolean - hasAutomations: - type: boolean - stepUpAuthData: - type: object - stepUpAuthType: - type: string - usageAnalytics: - type: boolean - usageCertRequired: - type: boolean - usageCertText: - type: object - launchpadEnabled: - type: boolean - passwordManaged: - type: boolean - owner: - type: object - properties: - id: - type: string - name: - type: string - dateCreated: - type: number - lastUpdated: - type: number - defaultAccessProfile: - type: object - service: - type: string - selectedSsoMethod: - type: string - supportedSsoMethods: - type: number - offNetworkBlockedRoles: - type: object - supportedOffNetwork: - type: string - accountServiceId: - type: number - launcherCount: - type: number - accountServiceName: - type: string - accountServiceExternalId: - type: string - accountServiceMatchAllAccounts: - type: boolean - externalId: - type: string - accountServiceUseForPasswordManagement: - type: boolean - accountServicePolicyId: - type: string - accountServicePolicyName: - type: string - requireStrongAuthn: - type: boolean - accountServicePolicies: - type: array - items: - type: object - properties: - policyId: - type: string - policyName: - type: string - selectors: - type: object - xsdVersion: - type: string - appProfiles: - type: array - items: - type: object - properties: - id: - type: number - filename: - type: string - createdBy: - type: string - dateCreated: - type: string - xsdVersion: - type: string - passwordServiceId: - type: number - accessProfileIds: - type: object - /cc/api/app/getAccessProfiles/{id}: - get: - tags: - - Applications - summary: Get Access Profiles for Application - operationId: GetApplicationAccessProfiles - parameters: - - name: id - in: path - schema: - type: string - example: 12345 - required: true - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - additionalProperties: true - /cc/api/app/create: - post: - tags: - - Applications - summary: Create Application - operationId: CreateApplication - security: - - UserContextAuth: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - example: 'My App' - description: - type: string - format: 'This is my application' - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - additionalProperties: true - /cc/api/app/update/{id}: - post: - tags: - - Applications - summary: Update Application - operationId: UpdateApplication - security: - - UserContextAuth: [] - parameters: - - name: id - in: path - schema: - type: string - example: 12345 - required: true - requestBody: - content: - application/json: - schema: - type: object - additionalProperties: true - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - additionalProperties: true - /cc/api/app/delete/{id}: - post: - tags: - - Applications - summary: Delete Application - operationId: DeleteApplication - security: - - UserContextAuth: [] - parameters: - - name: id - in: path - schema: - type: string - example: 12345 - required: true - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/connector/list: - get: - tags: - - Connectors - summary: List Connectors - operationId: listConnectors - security: - - UserContextAuth: [] - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - properties: - total: - type: number - items: - type: array - items: - type: object - properties: - applicationXml: - type: string - nullable: true - className: - type: string - nullable: true - connectorMetadata: - type: object - correlationConfigXml: - type: string - nullable: true - directConnect: - type: boolean - fileUpload: - type: boolean - id: - type: integer - format: int32 - example: 8017 - name: - type: string - example: ACF2 - s3Location: - type: string - nullable: true - scope: - type: string - example: global - scriptName: - type: string - example: acf2-angularsc - sourceConfig: - type: string - nullable: true - sourceConfigFrom: - type: string - nullable: true - sourceConfigXml: - type: string - nullable: true - status: - type: string - example: RELEASED - translationProperties: - type: object - type: - type: string - example: ACF2 - Full - uploadedFiles: - type: array - items: - type: object - example: [] - /cc/api/connector/create: - post: - tags: - - Connectors - summary: Create Connector - operationId: createConnector - security: - - UserContextAuth: [] - requestBody: - content: - application/x-www-form-urlencoded: - schema: - type: object - properties: - name: - type: string - example: My Connector - description: - type: string - example: My Connector - className: - type: string - example: sailpoint.connector.OpenConnectorAdapter - directConnect: - type: boolean - example: 'true' - status: - type: string - example: released - parameters: - - name: Content-Type - in: header - schema: - type: string - example: application/x-www-form-urlencoded - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/connector/delete/{id}: - post: - tags: - - Connectors - summary: Delete Connector - operationId: deleteConnector - security: - - UserContextAuth: [] - parameters: - - name: id - in: path - schema: - type: string - required: true - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/connector/export/{id}: - get: - tags: - - Connectors - summary: Export Connector Config - operationId: exportConnectorConfig - security: - - UserContextAuth: [] - parameters: - - name: id - in: path - schema: - type: string - required: true - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/connector/import/{id}: - post: - tags: - - Connectors - summary: Import Connector Config - operationId: importConnectorConfig - security: - - UserContextAuth: [] - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - file: - type: string - description: This is the connector config zip bundle which gets uploaded. - format: binary - parameters: - - name: id - in: path - schema: - type: string - required: true - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/user/updatePermissions: - post: - tags: - - User - summary: Update User Permissions - operationId: updateUserPermissions - security: - - UserContextAuth: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - ids: - type: string - example: '71624,71625' - isAdmin: - type: string - description: Indicates if user should be an IDN Admin. "0" for false, "1" for true. - example: "1" - adminType: - type: string - enum: - - ADMIN - - CERT_ADMIN - - HELPDESK - - REPORT_ADMIN - - ROLE_ADMIN - - ROLE_SUBADMIN - - SOURCE_ADMIN - - SOURCE_SUBADMIN - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/user/get/{id}: - get: - tags: - - User - summary: Get Single Identity - operationId: GetIdentity - security: - - UserContextAuth: [] - parameters: - - name: id - in: path - schema: - type: string - example: 5433236 - required: true - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - properties: - id: - type: string - alias: - type: string - uid: - type: string - name: - type: string - displayName: - type: string - uuid: - type: string - encryptionKey: - type: object - encryptionCheck: - type: object - status: - type: string - pending: - type: boolean - passwordResetSinceLastLogin: - type: boolean - usageCertAttested: - type: object - userFlags: - type: object - enabled: - type: boolean - altAuthVia: - type: string - altAuthViaIntegrationData: - type: object - kbaAnswers: - type: number - disablePasswordReset: - type: boolean - ptaSourceId: - type: object - supportsPasswordPush: - type: boolean - attributes: - type: object - externalId: - type: string - role: - type: array - items: - type: object - phone: - type: object - email: - type: string - personalEmail: - type: object - employeeNumber: - type: object - riskScore: - type: number - featureFlags: - type: object - feature: - type: array - items: - type: string - orgEncryptionKey: - type: string - orgEncryptionKeyId: - type: string - meta: - type: object - org: - type: object - properties: - name: - type: string - scriptName: - type: string - mode: - type: string - numQuestions: - type: number - status: - type: string - maxRegisteredUsers: - type: number - pod: - type: string - pwdResetPersonalPhone: - type: boolean - pwdResetPersonalEmail: - type: boolean - pwdResetKba: - type: boolean - pwdResetEmail: - type: boolean - pwdResetDuo: - type: boolean - pwdResetPhoneMask: - type: boolean - authErrorText: - type: object - strongAuthKba: - type: boolean - strongAuthPersonalPhone: - type: boolean - strongAuthPersonalEmail: - type: boolean - integrations: - type: array - items: - type: object - productName: - type: string - kbaReqForAuthn: - type: number - kbaReqAnswers: - type: number - lockoutAttemptThreshold: - type: number - lockoutTimeMinutes: - type: number - usageCertRequired: - type: boolean - adminStrongAuthRequired: - type: boolean - enableExternalPasswordChange: - type: boolean - enablePasswordReplay: - type: boolean - enableAutomaticPasswordReplay: - type: boolean - notifyAuthenticationSettingChange: - type: boolean - netmasks: - type: object - countryCodes: - type: object - whiteList: - type: boolean - usernameEmptyText: - type: object - usernameLabel: - type: object - enableAutomationGeneration: - type: boolean - emailTestMode: - type: boolean - emailTestAddress: - type: string - orgType: - type: string - passwordReplayState: - type: string - systemNotificationConfig: - type: string - redirectPatterns: - type: string - maxClusterDebugHours: - type: string - brandName: - type: string - logo: - type: object - emailFromAddress: - type: object - standardLogoUrl: - type: object - narrowLogoUrl: - type: object - actionButtonColor: - type: string - activeLinkColor: - type: string - navigationColor: - type: string - stepUpAuth: - type: boolean - bxInstallPrompted: - type: boolean - federatedLogin: - type: boolean - auth: - type: object - properties: - service: - type: string - encryption: - type: string - onNetwork: - type: boolean - onTrustedGeo: - type: boolean - loginUrl: - type: string - /cc/api/source/loadAccounts/{id}: - post: - tags: - - Sources > Aggregation - summary: Account Aggregation (File) - operationId: loadAccounts - security: - - UserContextAuth: [] - description: >- - Aggregates a delimited file for the given source. This only works for - file-based sources. - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - disableOptimization: - type: boolean - example: 'true' - file: - type: string - format: binary - parameters: - - name: Content-Type - in: header - schema: - type: string - example: application/x-www-form-urlencoded - - name: id - in: path - schema: - type: string - required: true - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - additionalProperties: true - /cc/api/source/loadEntitlements/{id}: - post: - tags: - - Sources > Aggregation - summary: Account Aggregation (File) - operationId: loadEntitlements - security: - - UserContextAuth: [] - description: >- - Aggregates a delimited file for the given source. This only works for - file-based sources. - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - file: - type: string - format: binary - parameters: - - name: Content-Type - in: header - schema: - type: string - example: application/x-www-form-urlencoded - - name: id - in: path - schema: - type: string - required: true - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - additionalProperties: true - /cc/api/source/exportAccountFeed/{id}: - get: - tags: - - Sources > Accounts - summary: Export Account Feed - operationId: exportAccountFeed - security: - - UserContextAuth: [] - description: Exports a CSV of the accounts for a particular source. - parameters: - - name: id - in: path - schema: - type: string - required: true - responses: - '200': - description: Successful response - content: - application/json: {} - /cc/api/system/refreshIdentities: - post: - tags: - - System - summary: Refresh Identities - operationId: refreshIdentities - security: - - UserContextAuth: [] - description: >- - This kicks off an identity refresh for a specified set of identity - attributes. This can be a long running process. IdentityNow has - pre-scheduled versions of this task at set intervals and events already, - so only run this when directed by SailPoint. - - - _Note: If the identities specified by the filter do not exist, a full - identity refresh will be run. Use with caution._ - - - Refresh Arguments: - - - | Key | - Description | - - |-----------------------|----------------------------------------------------| - - | correlateEntitlements | Analyzes entitlements, access profiles, and - roles. | - - | promoteAttributes | Calculates identity - attributes. | - - | refreshManagerStatus | Calculates manager correlation and manager - status. | - - | synchronizeAttributes | Performs attribute sync - provisioning. | - - | pruneIdentities | Removes any identities which don't have - accounts. | - - | provision | Provisions any assigned roles or access - profiles. | - requestBody: - content: - application/json: - schema: - type: object - properties: - filter: - type: string - description: | - Defines the identity or identities which this refresh applies to. - The filter must use searchable identity attributes. - If the filter cannot be understood or parsed, all identities will be refreshed. - refreshArgs: - type: object - properties: - correlateEntitlements: - type: boolean - example: true - description: This will refresh entitlement, role, and access profile calculations. - promoteAttributes: - type: boolean - example: true - description: This will calculate identity attributes. - refreshManagerStatus: - type: boolean - example: false - description: | - This recalculates manager correlation and manager status. Note: This is computationally expensive to run. - synchronizeAttributes: - type: boolean - example: false - description: Enables attribute synchronization. - pruneIdentities: - type: boolean - example: false - description: | - Option that will enable deletion of an identity objects if there are no account objects. Note: This is not typically used in IdentityNow, except by guidance from SailPoint. - provision: - type: boolean - example: false - description: Enables provisioning of role assignments with entitlements that are not currently fulfilled. - example: >- - "{\n \"filter\" : \"uid == \\\"1219028\\\"\",\n - \"refreshArgs\" : {\n \"correlateEntitlements\" : - \"true\",\n \"promoteAttributes\" : \"true\",\n - \"refreshManagerStatus\" : \"false\",\n - \"synchronizeAttributes\" : \"false\",\n \"pruneIdentities\" - : \"false\",\n \"provision\" : \"true\"\n }\n}" - parameters: - - name: Content-Type - in: header - schema: - type: string - example: application/json - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - additionalProperties: true diff --git a/idn/sailpoint-api.v2.yaml b/idn/sailpoint-api.v2.yaml deleted file mode 100644 index 3d05b8eb..00000000 --- a/idn/sailpoint-api.v2.yaml +++ /dev/null @@ -1,988 +0,0 @@ -openapi: 3.0.1 -info: - title: SailPoint SaaS API - version: 2.0.0 -servers: - - url: https://{tenant}.api.identitynow.com/v2 - description: This is the production API server. - variables: - tenant: - default: sailpoint - description: - This is the name of your tenant, typically your company's name. - - url: https://{apiUrl}/v2 - description: This is the V2 API server. - variables: - apiUrl: - default: sailpoint.api.identitynow.com - description: This is the api url of your tenant -components: - securitySchemes: - UserContextAuth: - type: oauth2 - description: | - OAuth2 Bearer token (JWT). See [IdentityNow REST API Authentication](https://developer.sailpoint.com/idn/api/authentication) for more information. - - Directions for generating a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) - - Directions using [client credentials flow](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) - - Directions for using [authorization code flow](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow) - Which authentication method should I choose? See our [guide](https://developer.sailpoint.com/idn/api/authentication#which-oauth-20-grant-flow-should-i-use) - Learn more about how to find your `tokenUrl` and `authorizationUrl` [in our docs](https://developer.sailpoint.com/idn/api/authentication#find-your-tenants-oauth-details) - flows: - clientCredentials: - tokenUrl: https://tenant.api.identitynow.com/oauth/token - scopes: - "sp:scopes:default": "default scope" - "sp:scopes:all": "access to all scopes" - authorizationCode: - authorizationUrl: https://tenant.login.sailpoint.com/oauth/authorize - tokenUrl: https://tenant.api.identitynow.com/oauth/token - scopes: - "sp:scopes:default": "default scope" - "sp:scopes:all": "access to all scopes" -tags: - - name: org - -paths: - '/org': - get: - tags: - - org - summary: Retrieves your org settings. - description: Retrieves information and operational settings for your org (as determined - by the URL domain). - operationId: getOrgSettings - responses: - '200': - description: OK. - content: - application/json: - schema: - type: object - properties: - id: - type: string - name: - type: string - description: - type: string - dateCreated: - type: string - format: date-time - lastUpdated: - type: string - format: date-time - scriptName: - type: string - ssoDomain: - type: string - status: - type: string - enum: - - inactive - - active - - demo - - test - maxRegisteredIdentities: - type: integer - identityCount: - type: integer - kbaReqForAuthn: - type: integer - kbaReqAnswers: - type: integer - lockoutAttemptThreshold: - type: integer - lockoutTimeMinutes: - type: integer - usageCertRequired: - type: boolean - adminStrongAuthRequired: - type: boolean - enableExternalPasswordChange: - type: boolean - enablePasswordReplay: - type: boolean - enableAutomaticPasswordReplay: - type: boolean - netmasks: - type: array - items: - type: string - countryCodes: - type: array - items: - type: string - whiteList: - type: boolean - emailTestMode: - type: boolean - emailTestAddress: - type: string - format: email - usernameEmptyText: - type: string - usernameLabel: - type: string - enableAutomationGeneration: - type: boolean - passwordReplayState: - type: string - enum: - - enabled - - passive - - disabled - systemNotificationConfig: - type: object - properties: - notifications: - type: array - items: - type: object - properties: - type: - type: string - byEmail: - type: boolean - thresholds: - type: object - properties: - healthy: - type: string - unhealthy: - type: string - recipientType: - type: string - enum: - - allAdmins - - specificIdentities - systemNotificationEmails: - type: array - items: - type: string - format: email - loginUrl: - type: string - redirectPatterns: - type: array - items: - type: string - styleHash: - type: string - approvalConfig: - type: object - properties: - daysTillEscalation: - type: integer - daysBetweenReminders: - type: integer - maxReminders: - type: integer - fallbackApprover: - type: string - required: - - daysTillEscalation - - daysBetweenReminders - - maxReminders - - fallbackApprover - ssoPartnerSource: - type: string - headers: - ETag: - description: Entity tag. - schema: - type: string - Last-Modified: - description: Last modified date. - schema: - type: string - format: date-time - Link: - description: Links to alternate or related resources. - schema: - type: string - patch: - tags: - - org - summary: Updates one or more org attributes. - description: Updates one or more attributes for your org. - operationId: updateOrgSettings - requestBody: - description: Org settings to update. - required: true - content: - application/json: - schema: - type: object - properties: - countryCodes: - type: array - items: - type: string - enableExternalPasswordChange: - type: boolean - enableAutomaticPasswordReplay: - type: boolean - enableAutomationGeneration: - type: boolean - kbaReqAnswers: - type: integer - format: int32 - kbaReqForAuthn: - type: integer - format: int32 - lockoutAttemptThreshold: - type: integer - format: int32 - lockoutTimeMinutes: - type: integer - format: int32 - loginUrl: - type: string - netmasks: - type: array - items: - type: string - notifyAuthenticationSettingChange: - type: boolean - passwordReplayState: - type: string - enum: - - enabled - - passive - - disabled - preferredIdentityInviteTemplate: - type: string - redirectPatterns: - type: array - items: - type: string - ssoPartnerSource: - type: string - systemNotificationEmails: - type: array - items: - type: string - format: email - trackAnalytics: - type: boolean - usageCertRequired: - type: boolean - usageCertText: - type: string - usernameEmptyText: - type: string - usernameLabel: - type: string - whiteList: - type: boolean - approvalConfig: - type: object - properties: - daysTillEscalation: - type: integer - daysBetweenReminders: - type: integer - maxReminders: - type: integer - fallbackApprover: - type: string - required: - - daysTillEscalation - - daysBetweenReminders - - maxReminders - - fallbackApprover - - responses: - '200': - description: OK. - content: - application/json: - schema: - type: object - properties: - id: - type: string - name: - type: string - description: - type: string - dateCreated: - type: string - format: date-time - lastUpdated: - type: string - format: date-time - scriptName: - type: string - ssoDomain: - type: string - status: - type: string - enum: - - inactive - - active - - demo - - test - maxRegisteredIdentities: - type: integer - identityCount: - type: integer - kbaReqForAuthn: - type: integer - kbaReqAnswers: - type: integer - lockoutAttemptThreshold: - type: integer - lockoutTimeMinutes: - type: integer - usageCertRequired: - type: boolean - adminStrongAuthRequired: - type: boolean - enableExternalPasswordChange: - type: boolean - enablePasswordReplay: - type: boolean - enableAutomaticPasswordReplay: - type: boolean - netmasks: - type: array - items: - type: string - countryCodes: - type: array - items: - type: string - whiteList: - type: boolean - emailTestMode: - type: boolean - emailTestAddress: - type: string - format: email - usernameEmptyText: - type: string - usernameLabel: - type: string - enableAutomationGeneration: - type: boolean - passwordReplayState: - type: string - enum: - - enabled - - passive - - disabled - systemNotificationConfig: - type: object - properties: - notifications: - type: array - items: - type: object - properties: - type: - type: string - byEmail: - type: boolean - thresholds: - type: object - properties: - healthy: - type: string - unhealthy: - type: string - recipientType: - type: string - enum: - - allAdmins - - specificIdentities - systemNotificationEmails: - type: array - items: - type: string - format: email - loginUrl: - type: string - redirectPatterns: - type: array - items: - type: string - styleHash: - type: string - approvalConfig: - type: object - properties: - daysTillEscalation: - type: integer - daysBetweenReminders: - type: integer - maxReminders: - type: integer - fallbackApprover: - type: string - required: - - daysTillEscalation - - daysBetweenReminders - - maxReminders - - fallbackApprover - ssoPartnerSource: - type: string - headers: - ETag: - description: Entity tag. - schema: - type: string - Last-Modified: - description: Last modified date. - schema: - type: string - format: date-time - Link: - description: Links to alternate or related resources. - schema: - type: string - '/workgroups': - get: - operationId: listWorkgroups - tags: - - Governance Groups - summary: List Work Groups - description: This API returns a list of work groups - security: - - UserContextAuth: [] - parameters: - - in: query - name: limit - description: >- - Max number of results to return - required: false - example: 250 - schema: - type: integer - format: int32 - minimum: 0 - maximum: 250 - default: 250 - - in: query - name: offset - description: >- - Offset into the full result set. Usually specified with *limit* to paginate through the results. - required: false - example: 0 - schema: - type: integer - format: int32 - minimum: 0 - default: 0 - - in: query - name: filters - schema: - type: string - description: >- - Filter results using the following syntax. - - [{property:name, value: "Tyler", operation: EQ}] - required: false - responses: - '200': - description: List of work group objects - content: - application/json: - schema: - type: array - items: - type: object - properties: - connectionCount: - type: integer - format: int32 - example: 2 - created: - type: integer - format: int64 - example: 1641498673000 - description: - type: string - example: Phil Governance Group - id: - type: string - example: b0c131fa-5133-4efb-9bb2-e22529f44cad - memberCount: - type: integer - format: int32 - example: 2 - modified: - type: integer - format: int64 - example: 1641498673000 - name: - type: string - example: Phil Governance Group - owner: - type: object - properties: - displayName: - type: string - example: Philip Ellis - emailAddress: - type: string - example: philip.ellis@sailpoint.com - id: - type: string - example: 2c9180897d2cb80b017d39ccb26c1804 - name: - type: string - example: philip.ellis - - post: - operationId: createWorkgroup - tags: - - Governance Groups - summary: Create Work Group - description: This API allows you to create a work group - security: - - UserContextAuth: [] - requestBody: - description: Work group to create. - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - example: Test group 3 - description: - type: string - example: This is a test - owner: - type: object - properties: - id: - type: string - example: 2c9180867624cbd7017642d8c8c81f67 - responses: - '200': - description: List of work group objects - content: - application/json: - schema: - type: array - items: - type: object - properties: - connectionCount: - type: integer - format: int32 - example: 2 - created: - type: integer - format: int64 - example: 1641498673000 - description: - type: string - example: Phil Governance Group - id: - type: string - example: b0c131fa-5133-4efb-9bb2-e22529f44cad - memberCount: - type: integer - format: int32 - example: 2 - modified: - type: integer - format: int64 - example: 1641498673000 - name: - type: string - example: Phil Governance Group - owner: - type: object - properties: - displayName: - type: string - example: Philip Ellis - emailAddress: - type: string - example: philip.ellis@sailpoint.com - id: - type: string - example: 2c9180897d2cb80b017d39ccb26c1804 - name: - type: string - example: philip.ellis - '/workgroups/{workgroupId}': - get: - operationId: getWorkgroup - tags: - - Governance Groups - summary: Get Work Group By Id - description: This API returns the details for a single workgroup based on the ID - security: - - UserContextAuth: [] - parameters: - - in: path - name: workgroupId - schema: - type: string - required: true - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - responses: - '200': - description: Workgroup object - content: - application/json: - schema: - type: object - properties: - connectionCount: - type: integer - format: int32 - example: 2 - created: - type: integer - format: int64 - example: 1641498673000 - description: - type: string - example: Phil Governance Group - id: - type: string - example: b0c131fa-5133-4efb-9bb2-e22529f44cad - memberCount: - type: integer - format: int32 - example: 2 - modified: - type: integer - format: int64 - example: 1641498673000 - name: - type: string - example: Phil Governance Group - owner: - type: object - properties: - displayName: - type: string - example: Philip Ellis - emailAddress: - type: string - example: philip.ellis@sailpoint.com - id: - type: string - example: 2c9180897d2cb80b017d39ccb26c1804 - name: - type: string - example: philip.ellis - patch: - operationId: updateWorkgroup - tags: - - Governance Groups - summary: Update Work Group By Id - description: This API updates and returns the details for a single workgroup based on the ID - security: - - UserContextAuth: [] - parameters: - - in: path - name: workgroupId - schema: - type: string - required: true - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - requestBody: - description: Work group to modify. - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - example: Test group 3 - description: - type: string - example: This is a test - owner: - type: object - properties: - id: - type: string - example: 2c9180867624cbd7017642d8c8c81f67 - responses: - '200': - description: Workgroup object - content: - application/json: - schema: - type: object - properties: - connectionCount: - type: integer - format: int32 - example: 2 - created: - type: integer - format: int64 - example: 1641498673000 - description: - type: string - example: Phil Governance Group - id: - type: string - example: b0c131fa-5133-4efb-9bb2-e22529f44cad - memberCount: - type: integer - format: int32 - example: 2 - modified: - type: integer - format: int64 - example: 1641498673000 - name: - type: string - example: Phil Governance Group - owner: - type: object - properties: - displayName: - type: string - example: Philip Ellis - emailAddress: - type: string - example: philip.ellis@sailpoint.com - id: - type: string - example: 2c9180897d2cb80b017d39ccb26c1804 - name: - type: string - example: philip.ellis - - delete: - operationId: deleteWorkgroup - tags: - - Governance Groups - summary: Delete Work Group By Id - description: This API deletes a single workgroup based on the ID - security: - - UserContextAuth: [] - parameters: - - in: path - name: workgroupId - schema: - type: string - required: true - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - responses: - '204': - description: Empty response on successful deletion - content: - application/json: {} - '/workgroups/{workgroupId}/members': - get: - operationId: listWorkgroupMembers - tags: - - Governance Groups - summary: List Work Group Members - description: This API returns the members of a work group - security: - - UserContextAuth: [] - parameters: - - in: path - name: workgroupId - schema: - type: string - required: true - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - - in: query - name: limit - description: >- - Max number of results to return - required: false - example: 250 - schema: - type: integer - format: int32 - minimum: 0 - maximum: 250 - default: 250 - - in: query - name: offset - description: >- - Offset into the full result set. Usually specified with *limit* to paginate through the results. - required: false - example: 0 - schema: - type: integer - format: int32 - minimum: 0 - default: 0 - - in: query - name: filters - schema: - type: string - description: >- - Filter results using the following syntax. - - [{property:name, value: "Tyler", operation: EQ}] - responses: - '200': - description: List of work group member objects - content: - application/json: - schema: - type: array - items: - type: object - properties: - alias: - type: string - example: Jerry.Bennett - email: - type: string - example: Jerry.Bennett@sailpointdemo.com - externalId: - type: string - example: 2c9180837dfe6949017e208e26027b23 - id: - type: integer - format: int32 - example: 3497959 - name: - type: string - example: Jerry.Bennett - post: - operationId: modifyWorkgroupMembers - tags: - - Governance Groups - summary: Modify Work Group Members - description: This API allows you to modify the members of a work group - security: - - UserContextAuth: [] - parameters: - - in: path - name: workgroupId - schema: - type: string - required: true - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - requestBody: - description: Add/Remove workgroup member ids. - required: true - content: - application/json: - schema: - type: object - properties: - add: - type: array - items: - type: string - example: 2c9180867624cbd7017642d8c8c81f67 - remove: - type: array - items: - type: string - example: 2c9180867624cbd7017642d8c8c81f67 - responses: - '204': - description: Empty response on successful deletion - content: - application/json: {} - '/workgroups/{workgroupId}/connections': - get: - operationId: listWorkgroupConnections - tags: - - Governance Groups - summary: List Work Group Connections - description: This API returns the connections of a work group - security: - - UserContextAuth: [] - parameters: - - in: path - name: workgroupId - schema: - type: string - required: true - description: The workgroup ID - example: ef38f94347e94562b5bb8424a56397d8 - responses: - '200': - description: List of work group connection objects - content: - application/json: - schema: - type: array - items: - type: object - properties: - connectionType: - type: string - example: AccessRequestReviewer - description: - type: string - format: nullable - name: - type: string - example: Test Approval Scheme - objectId: - type: string - example: 8c24b31fe23947b28e42691a4a6faaee - objectType: - type: string - example: AccessProfile - workgroupId: - type: string - example: b0c131fa-5133-4efb-9bb2-e22529f44cad - '/workgroups/bulk-delete': - post: - operationId: bulkDeleteWorkGroups - tags: - - Governance Groups - summary: Bulk delete work groups - description: This API allows you to bulk-delete work groups - security: - - UserContextAuth: [] - requestBody: - description: Work group ids to delete - required: true - content: - application/json: - schema: - type: object - properties: - ids: - type: array - items: - type: string - example: 868edef1-222b-40e4-8787-b56cfd78b100 - responses: - '200': - description: List of work group objects - content: - application/json: - schema: - type: object - properties: - deleted: - type: array - items: - type: string - example: 4518f275-e7de-40b8-9951-b67d6273421c - inUse: - type: array - items: - type: string - example: 12538dlg-60d0-44b4-9273-d1ba578ef384 - notFound: - type: array - items: - type: string - example: 12538ecf-60d0-44b4-9273-d1ba578ef384 diff --git a/postman-script/modify-collection.js b/postman-script/modify-collection.js index 5db95be9..20168aae 100644 --- a/postman-script/modify-collection.js +++ b/postman-script/modify-collection.js @@ -40,11 +40,7 @@ fs.readFile(args[2], 'utf8', (err, data) => { jsonObject.variable = JSON.parse(fs.readFileSync('postman-script/variable-beta.json', 'utf8')); } else if (args[2].includes("v3")) { jsonObject.variable = JSON.parse(fs.readFileSync('postman-script/variable-v3.json', 'utf8')); - } else if (args[2].includes("v2")) { - jsonObject.variable = JSON.parse(fs.readFileSync('postman-script/variable-v2.json', 'utf8')); - } else if (args[2].includes("cc")) { - jsonObject.variable = JSON.parse(fs.readFileSync('postman-script/variable-cc.json', 'utf8')); - } + } diff --git a/postman-script/variable-cc.json b/postman-script/variable-cc.json deleted file mode 100644 index a3e5d389..00000000 --- a/postman-script/variable-cc.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "domain", - "value": "identitynow", - "type": "string" - }, - { - "key": "baseUrl", - "value": "https://{{tenant}}.api.{{domain}}.com", - "type": "string" - } -] \ No newline at end of file diff --git a/postman-script/variable-v2.json b/postman-script/variable-v2.json deleted file mode 100644 index 7f43d8f8..00000000 --- a/postman-script/variable-v2.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "domain", - "value": "identitynow", - "type": "string" - }, - { - "key": "baseUrl", - "value": "https://{{tenant}}.api.{{domain}}.com/v2", - "type": "string" - } -] \ No newline at end of file diff --git a/postman/collections/sailpoint-api-cc.json b/postman/collections/sailpoint-api-cc.json deleted file mode 100644 index a1ac5767..00000000 --- a/postman/collections/sailpoint-api-cc.json +++ /dev/null @@ -1,2176 +0,0 @@ -{ - "item": [ - { - "name": "cc", - "description": "", - "item": [ - { - "name": "api", - "description": "", - "item": [ - { - "name": "account", - "description": "", - "item": [ - { - "name": "list", - "description": "", - "item": [ - { - "id": "2be84caa-474a-4a80-91d4-9377536efed4", - "name": "List Accounts", - "request": { - "name": "List Accounts", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "account", - "list" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "74db08c1-5ac8-46b9-88c9-fdc9e5168616", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "account", - "list" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "remove", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "350ad9c1-2df5-4898-b4e9-9e2902cf8075", - "name": "Remove Account", - "request": { - "name": "Remove Account", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "account", - "remove", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": {} - }, - "response": [ - { - "id": "5927f6ba-99a8-4d9b-b419-a92d9167e254", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "account", - "remove", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - } - ] - }, - { - "name": "app", - "description": "", - "item": [ - { - "name": "list", - "description": "", - "item": [ - { - "id": "87a46cf7-7671-49d7-994e-41752d1b4db5", - "name": "List Applications", - "request": { - "name": "List Applications", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "app", - "list" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "3e7c1c02-a0d5-49bd-8e0c-ca27362ededb", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "app", - "list" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"id\": \"\",\n \"appId\": \"\",\n \"serviceId\": \"\",\n \"serviceAppId\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"appCenterEnabled\": \"\",\n \"provisionRequestEnabled\": \"\",\n \"controlType\": \"\",\n \"mobile\": \"\",\n \"privateApp\": \"\",\n \"scriptName\": \"\",\n \"status\": \"\",\n \"icon\": \"\",\n \"health\": {\n \"status\": \"\",\n \"lastChanged\": \"\",\n \"since\": \"\",\n \"healthy\": \"\"\n },\n \"enableSso\": \"\",\n \"ssoMethod\": \"\",\n \"hasLinks\": \"\",\n \"hasAutomations\": \"\",\n \"stepUpAuthData\": {},\n \"stepUpAuthType\": \"\",\n \"usageAnalytics\": \"\",\n \"usageCertRequired\": \"\",\n \"usageCertText\": {},\n \"launchpadEnabled\": \"\",\n \"passwordManaged\": \"\",\n \"owner\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"dateCreated\": \"\",\n \"lastUpdated\": \"\",\n \"defaultAccessProfile\": {},\n \"service\": \"\",\n \"selectedSsoMethod\": \"\",\n \"supportedSsoMethods\": \"\",\n \"offNetworkBlockedRoles\": {},\n \"supportedOffNetwork\": \"\",\n \"accountServiceId\": \"\",\n \"launcherCount\": \"\",\n \"accountServiceName\": \"\",\n \"accountServiceExternalId\": \"\",\n \"accountServiceMatchAllAccounts\": \"\",\n \"externalId\": \"\",\n \"accountServiceUseForPasswordManagement\": \"\",\n \"accountServicePolicyId\": \"\",\n \"accountServicePolicyName\": \"\",\n \"requireStrongAuthn\": \"\",\n \"accountServicePolicies\": [\n {\n \"policyId\": \"\",\n \"policyName\": \"\",\n \"selectors\": {}\n },\n {\n \"policyId\": \"\",\n \"policyName\": \"\",\n \"selectors\": {}\n }\n ],\n \"xsdVersion\": \"\",\n \"appProfiles\": [\n {\n \"id\": \"\",\n \"filename\": \"\",\n \"createdBy\": \"\",\n \"dateCreated\": \"\",\n \"xsdVersion\": \"\"\n },\n {\n \"id\": \"\",\n \"filename\": \"\",\n \"createdBy\": \"\",\n \"dateCreated\": \"\",\n \"xsdVersion\": \"\"\n }\n ],\n \"passwordServiceId\": \"\",\n \"accessProfileIds\": {}\n },\n {\n \"id\": \"\",\n \"appId\": \"\",\n \"serviceId\": \"\",\n \"serviceAppId\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"appCenterEnabled\": \"\",\n \"provisionRequestEnabled\": \"\",\n \"controlType\": \"\",\n \"mobile\": \"\",\n \"privateApp\": \"\",\n \"scriptName\": \"\",\n \"status\": \"\",\n \"icon\": \"\",\n \"health\": {\n \"status\": \"\",\n \"lastChanged\": \"\",\n \"since\": \"\",\n \"healthy\": \"\"\n },\n \"enableSso\": \"\",\n \"ssoMethod\": \"\",\n \"hasLinks\": \"\",\n \"hasAutomations\": \"\",\n \"stepUpAuthData\": {},\n \"stepUpAuthType\": \"\",\n \"usageAnalytics\": \"\",\n \"usageCertRequired\": \"\",\n \"usageCertText\": {},\n \"launchpadEnabled\": \"\",\n \"passwordManaged\": \"\",\n \"owner\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"dateCreated\": \"\",\n \"lastUpdated\": \"\",\n \"defaultAccessProfile\": {},\n \"service\": \"\",\n \"selectedSsoMethod\": \"\",\n \"supportedSsoMethods\": \"\",\n \"offNetworkBlockedRoles\": {},\n \"supportedOffNetwork\": \"\",\n \"accountServiceId\": \"\",\n \"launcherCount\": \"\",\n \"accountServiceName\": \"\",\n \"accountServiceExternalId\": \"\",\n \"accountServiceMatchAllAccounts\": \"\",\n \"externalId\": \"\",\n \"accountServiceUseForPasswordManagement\": \"\",\n \"accountServicePolicyId\": \"\",\n \"accountServicePolicyName\": \"\",\n \"requireStrongAuthn\": \"\",\n \"accountServicePolicies\": [\n {\n \"policyId\": \"\",\n \"policyName\": \"\",\n \"selectors\": {}\n },\n {\n \"policyId\": \"\",\n \"policyName\": \"\",\n \"selectors\": {}\n }\n ],\n \"xsdVersion\": \"\",\n \"appProfiles\": [\n {\n \"id\": \"\",\n \"filename\": \"\",\n \"createdBy\": \"\",\n \"dateCreated\": \"\",\n \"xsdVersion\": \"\"\n },\n {\n \"id\": \"\",\n \"filename\": \"\",\n \"createdBy\": \"\",\n \"dateCreated\": \"\",\n \"xsdVersion\": \"\"\n }\n ],\n \"passwordServiceId\": \"\",\n \"accessProfileIds\": {}\n }\n]", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "get", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "ce2ec7dd-f4bd-4013-a073-d3ec199b7b19", - "name": "Get Single Application", - "request": { - "name": "Get Single Application", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "app", - "get", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "44e32055-8597-4475-aaec-b4d8c9adff1b", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "app", - "get", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"id\": \"\",\n \"appId\": \"\",\n \"serviceId\": \"\",\n \"serviceAppId\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"appCenterEnabled\": \"\",\n \"provisionRequestEnabled\": \"\",\n \"controlType\": \"\",\n \"mobile\": \"\",\n \"privateApp\": \"\",\n \"scriptName\": \"\",\n \"status\": \"\",\n \"icon\": \"\",\n \"health\": {\n \"status\": \"\",\n \"lastChanged\": \"\",\n \"since\": \"\",\n \"healthy\": \"\"\n },\n \"enableSso\": \"\",\n \"ssoMethod\": \"\",\n \"hasLinks\": \"\",\n \"hasAutomations\": \"\",\n \"stepUpAuthData\": {},\n \"stepUpAuthType\": \"\",\n \"usageAnalytics\": \"\",\n \"usageCertRequired\": \"\",\n \"usageCertText\": {},\n \"launchpadEnabled\": \"\",\n \"passwordManaged\": \"\",\n \"owner\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"dateCreated\": \"\",\n \"lastUpdated\": \"\",\n \"defaultAccessProfile\": {},\n \"service\": \"\",\n \"selectedSsoMethod\": \"\",\n \"supportedSsoMethods\": \"\",\n \"offNetworkBlockedRoles\": {},\n \"supportedOffNetwork\": \"\",\n \"accountServiceId\": \"\",\n \"launcherCount\": \"\",\n \"accountServiceName\": \"\",\n \"accountServiceExternalId\": \"\",\n \"accountServiceMatchAllAccounts\": \"\",\n \"externalId\": \"\",\n \"accountServiceUseForPasswordManagement\": \"\",\n \"accountServicePolicyId\": \"\",\n \"accountServicePolicyName\": \"\",\n \"requireStrongAuthn\": \"\",\n \"accountServicePolicies\": [\n {\n \"policyId\": \"\",\n \"policyName\": \"\",\n \"selectors\": {}\n },\n {\n \"policyId\": \"\",\n \"policyName\": \"\",\n \"selectors\": {}\n }\n ],\n \"xsdVersion\": \"\",\n \"appProfiles\": [\n {\n \"id\": \"\",\n \"filename\": \"\",\n \"createdBy\": \"\",\n \"dateCreated\": \"\",\n \"xsdVersion\": \"\"\n },\n {\n \"id\": \"\",\n \"filename\": \"\",\n \"createdBy\": \"\",\n \"dateCreated\": \"\",\n \"xsdVersion\": \"\"\n }\n ],\n \"passwordServiceId\": \"\",\n \"accessProfileIds\": {}\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - }, - { - "name": "getAccessProfiles", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "0954c76c-8013-4cc4-8da8-cc15483f47e1", - "name": "Get Access Profiles for Application", - "request": { - "name": "Get Access Profiles for Application", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "app", - "getAccessProfiles", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "fffa74dc-356f-46f1-a19e-3a0174d55738", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "app", - "getAccessProfiles", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - }, - { - "name": "create", - "description": "", - "item": [ - { - "id": "a011ffd4-a480-4b1d-9de4-a9d056216aae", - "name": "Create Application", - "request": { - "name": "Create Application", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "app", - "create" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"description\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "37fe87b1-a1b7-48b7-950f-e4af86135db3", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "app", - "create" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"description\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "update", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "4978f65b-14ea-416b-8cbe-7732139afd14", - "name": "Update Application", - "request": { - "name": "Update Application", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "app", - "update", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"description\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "582d5c0d-9420-40a4-b6df-88b766cf5b83", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "app", - "update", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"description\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - }, - { - "name": "delete", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "81472860-9224-49b8-83f2-df1b9622b9be", - "name": "Delete Application", - "request": { - "name": "Delete Application", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "app", - "delete", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": {} - }, - "response": [ - { - "id": "fb7084ba-a09a-406a-8bf1-6e918a2d98d7", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "app", - "delete", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - } - ] - }, - { - "name": "connector", - "description": "", - "item": [ - { - "name": "list", - "description": "", - "item": [ - { - "id": "a3ef0fc9-f9fd-4f1b-9df2-a1110c15b54a", - "name": "List Connectors", - "request": { - "name": "List Connectors", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "connector", - "list" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "da24226a-fe54-4e60-a7e1-71145670c4f8", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "connector", - "list" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "create", - "description": "", - "item": [ - { - "id": "9dc71642-acdd-4900-9757-c271b5535be8", - "name": "Create Connector", - "request": { - "name": "Create Connector", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "connector", - "create" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "name", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "description", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "className", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "directConnect", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "status", - "value": "" - } - ] - } - }, - "response": [ - { - "id": "fb2aa711-0d09-4be5-856b-bff485dd3f9a", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "connector", - "create" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "name", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "description", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "className", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "directConnect", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "", - "type": "text/plain" - }, - "key": "status", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "delete", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "35dcf201-2b51-427f-be25-d2da8514f18d", - "name": "Delete Connector", - "request": { - "name": "Delete Connector", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "connector", - "delete", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": {} - }, - "response": [ - { - "id": "2978eff8-60ea-4009-8a84-5ce88f1e434e", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "connector", - "delete", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - }, - { - "name": "export", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "e72ba254-376b-4f69-b341-6f69b5744ef3", - "name": "Export Connector Config", - "request": { - "name": "Export Connector Config", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "connector", - "export", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "0954660f-be0d-4b4d-ad85-1f863cfc629d", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "connector", - "export", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - }, - { - "name": "import", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "1d8ee045-3995-44f4-b89d-52d0ff8bb52a", - "name": "Import Connector Config", - "request": { - "name": "Import Connector Config", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "connector", - "import", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "This is the connector config zip bundle which gets uploaded.", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "id": "98661576-c053-4b0d-84ac-d0b74e6d2723", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "connector", - "import", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "This is the connector config zip bundle which gets uploaded.", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - } - ] - }, - { - "name": "user", - "description": "", - "item": [ - { - "name": "updatePermissions", - "description": "", - "item": [ - { - "id": "8e9edbfe-db9e-45f5-b88c-6706171996c0", - "name": "Update User Permissions", - "request": { - "name": "Update User Permissions", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "user", - "updatePermissions" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"ids\": \"\",\n \"isAdmin\": \"\",\n \"adminType\": \"ROLE_SUBADMIN\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "c1c89ab0-78ae-4b40-bfcb-5cd1d5553286", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "user", - "updatePermissions" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"ids\": \"\",\n \"isAdmin\": \"\",\n \"adminType\": \"ROLE_SUBADMIN\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "get", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "8f261b94-9875-416e-ab23-d07850651f92", - "name": "Get Single Identity", - "request": { - "name": "Get Single Identity", - "description": {}, - "url": { - "path": [ - "cc", - "api", - "user", - "get", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "6bc06437-4b7f-46b8-a057-a4575c36e766", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "user", - "get", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"id\": \"\",\n \"alias\": \"\",\n \"uid\": \"\",\n \"name\": \"\",\n \"displayName\": \"\",\n \"uuid\": \"\",\n \"encryptionKey\": {},\n \"encryptionCheck\": {},\n \"status\": \"\",\n \"pending\": \"\",\n \"passwordResetSinceLastLogin\": \"\",\n \"usageCertAttested\": {},\n \"userFlags\": {},\n \"enabled\": \"\",\n \"altAuthVia\": \"\",\n \"altAuthViaIntegrationData\": {},\n \"kbaAnswers\": \"\",\n \"disablePasswordReset\": \"\",\n \"ptaSourceId\": {},\n \"supportsPasswordPush\": \"\",\n \"attributes\": {},\n \"externalId\": \"\",\n \"phone\": {},\n \"email\": \"\",\n \"personalEmail\": {},\n \"employeeNumber\": {},\n \"riskScore\": \"\",\n \"featureFlags\": {},\n \"feature\": [\n \"\",\n \"\"\n ],\n \"orgEncryptionKey\": \"\",\n \"orgEncryptionKeyId\": \"\",\n \"meta\": {},\n \"org\": {\n \"name\": \"\",\n \"scriptName\": \"\",\n \"mode\": \"\",\n \"numQuestions\": \"\",\n \"status\": \"\",\n \"maxRegisteredUsers\": \"\",\n \"pod\": \"\",\n \"pwdResetPersonalPhone\": \"\",\n \"pwdResetPersonalEmail\": \"\",\n \"pwdResetKba\": \"\",\n \"pwdResetEmail\": \"\",\n \"pwdResetDuo\": \"\",\n \"pwdResetPhoneMask\": \"\",\n \"authErrorText\": {},\n \"strongAuthKba\": \"\",\n \"strongAuthPersonalPhone\": \"\",\n \"strongAuthPersonalEmail\": \"\",\n \"productName\": \"\",\n \"kbaReqForAuthn\": \"\",\n \"kbaReqAnswers\": \"\",\n \"lockoutAttemptThreshold\": \"\",\n \"lockoutTimeMinutes\": \"\",\n \"usageCertRequired\": \"\",\n \"adminStrongAuthRequired\": \"\",\n \"enableExternalPasswordChange\": \"\",\n \"enablePasswordReplay\": \"\",\n \"enableAutomaticPasswordReplay\": \"\",\n \"notifyAuthenticationSettingChange\": \"\",\n \"netmasks\": {},\n \"countryCodes\": {},\n \"whiteList\": \"\",\n \"usernameEmptyText\": {},\n \"usernameLabel\": {},\n \"enableAutomationGeneration\": \"\",\n \"emailTestMode\": \"\",\n \"emailTestAddress\": \"\",\n \"orgType\": \"\",\n \"passwordReplayState\": \"\",\n \"systemNotificationConfig\": \"\",\n \"redirectPatterns\": \"\",\n \"maxClusterDebugHours\": \"\",\n \"brandName\": \"\",\n \"logo\": {},\n \"emailFromAddress\": {},\n \"standardLogoUrl\": {},\n \"narrowLogoUrl\": {},\n \"actionButtonColor\": \"\",\n \"activeLinkColor\": \"\",\n \"navigationColor\": \"\"\n },\n \"stepUpAuth\": \"\",\n \"bxInstallPrompted\": \"\",\n \"federatedLogin\": \"\",\n \"auth\": {\n \"service\": \"\",\n \"encryption\": \"\"\n },\n \"onNetwork\": \"\",\n \"onTrustedGeo\": \"\",\n \"loginUrl\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - } - ] - }, - { - "name": "source", - "description": "", - "item": [ - { - "name": "loadAccounts", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "4b06c1ce-e887-4dea-ad10-5f524be7c410", - "name": "Account Aggregation (File)", - "request": { - "name": "Account Aggregation (File)", - "description": { - "content": "Aggregates a delimited file for the given source. This only works for file-based sources.", - "type": "text/plain" - }, - "url": { - "path": [ - "cc", - "api", - "source", - "loadAccounts", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "", - "type": "text/plain" - }, - "key": "disableOptimization", - "value": "", - "type": "text" - }, - { - "description": { - "content": "", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - } - ] - } - }, - "response": [ - { - "id": "e46188fa-2e71-4b23-b082-0ffb59e027cc", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "source", - "loadAccounts", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "multipart/form-data" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "formdata", - "formdata": [ - { - "description": { - "content": "", - "type": "text/plain" - }, - "key": "disableOptimization", - "value": "", - "type": "text" - }, - { - "description": { - "content": "", - "type": "text/plain" - }, - "key": "file", - "value": "", - "type": "text" - } - ] - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - }, - { - "name": "exportAccountFeed", - "description": "", - "item": [ - { - "name": "{id}", - "description": "", - "item": [ - { - "id": "3a302cdc-4c5e-4adb-9ad7-1c438c2d3071", - "name": "Export Account Feed", - "request": { - "name": "Export Account Feed", - "description": { - "content": "Exports a CSV of the accounts for a particular source.", - "type": "text/plain" - }, - "url": { - "path": [ - "cc", - "api", - "source", - "exportAccountFeed", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "id", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "9785581c-2db2-4521-9fbc-70f71713ed83", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "source", - "exportAccountFeed", - ":id" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - } - ] - }, - { - "name": "system", - "description": "", - "item": [ - { - "name": "refreshIdentities", - "description": "", - "item": [ - { - "id": "49b36b5d-0e2b-4724-b60b-8f16dd233114", - "name": "Refresh Identities", - "request": { - "name": "Refresh Identities", - "description": { - "content": "This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint.\n\n_Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._\n\nRefresh Arguments:\n\n| Key | Description |\n|-----------------------|----------------------------------------------------|\n| correlateEntitlements | Analyzes entitlements, access profiles, and roles. |\n| promoteAttributes | Calculates identity attributes. |\n| refreshManagerStatus | Calculates manager correlation and manager status. |\n| synchronizeAttributes | Performs attribute sync provisioning. |\n| pruneIdentities | Removes any identities which don't have accounts. |\n| provision | Provisions any assigned roles or access profiles. |", - "type": "text/plain" - }, - "url": { - "path": [ - "cc", - "api", - "system", - "refreshIdentities" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"filter\": \"\",\n \"refreshArgs\": {\n \"correlateEntitlements\": \"\",\n \"promoteAttributes\": \"\",\n \"refreshManagerStatus\": \"\",\n \"synchronizeAttributes\": \"\",\n \"pruneIdentities\": \"\",\n \"provision\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "676255a7-e17d-46fa-9618-804dd967a515", - "name": "Successful response", - "originalRequest": { - "url": { - "path": [ - "cc", - "api", - "system", - "refreshIdentities" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"filter\": \"\",\n \"refreshArgs\": {\n \"correlateEntitlements\": \"\",\n \"promoteAttributes\": \"\",\n \"refreshManagerStatus\": \"\",\n \"synchronizeAttributes\": \"\",\n \"pruneIdentities\": \"\",\n \"provision\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - } - ] - } - ] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "const domain = pm.environment.get('domain') ? pm.environment.get('domain') : pm.collectionVariables.get('domain')", - "const tokenUrl = 'https://' + pm.environment.get('tenant') + '.api.' + domain + '.com/oauth/token';", - "const clientId = pm.environment.get('clientId');", - "const clientSecret = pm.environment.get('clientSecret');", - "", - "const getTokenRequest = {", - " method: 'POST',", - " url: tokenUrl,", - " body: {", - " mode: 'formdata',", - " formdata: [{", - " key: 'grant_type',", - " value: 'client_credentials'", - " },", - " {", - " key: 'client_id',", - " value: clientId", - " },", - " {", - " key: 'client_secret',", - " value: clientSecret", - " }", - " ]", - " }", - "};", - "", - "", - "var moment = require('moment');", - "if (!pm.environment.has('tokenExpTime')) {", - " pm.environment.set('tokenExpTime', moment());", - "}", - "", - "if (moment(pm.environment.get('tokenExpTime')) <= moment() || !pm.environment.get('tokenExpTime') || !pm.environment.get('accessToken')) {", - " var time = moment();", - " time.add(12, 'hours');", - " pm.environment.set('tokenExpTime', time);", - " pm.sendRequest(getTokenRequest, (err, response) => {", - " const jsonResponse = response.json();", - " if (response.code != 200) {", - " throw new Error(`Unable to authenticate: ${JSON.stringify(jsonResponse)}`);", - " }", - " const newAccessToken = jsonResponse.access_token;", - " pm.environment.set('accessToken', newAccessToken);", - " });", - "", - "}" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ], - "variable": [ - { - "key": "domain", - "value": "identitynow", - "type": "string" - }, - { - "key": "baseUrl", - "value": "https://{{tenant}}.api.{{domain}}.com", - "type": "string" - } - ], - "info": { - "_postman_id": "fce8ac31-cb89-4b05-8834-a485ae694712", - "name": "IdentityNow cc (private) APIs", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "description": { - "content": "", - "type": "text/plain" - } - }, - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{accessToken}}", - "type": "string" - } - ] - } -} \ No newline at end of file diff --git a/postman/collections/sailpoint-api-v2.json b/postman/collections/sailpoint-api-v2.json deleted file mode 100644 index cf51a69a..00000000 --- a/postman/collections/sailpoint-api-v2.json +++ /dev/null @@ -1,1336 +0,0 @@ -{ - "item": [ - { - "name": "org", - "description": "", - "item": [ - { - "id": "0e0aebeb-73a6-456e-9096-39494c8ef36d", - "name": "Retrieves your org settings.", - "request": { - "name": "Retrieves your org settings.", - "description": { - "content": "Retrieves information and operational settings for your org (as determined by the URL domain).", - "type": "text/plain" - }, - "url": { - "path": [ - "org" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "086aebc2-b0d6-4932-a38d-f0b55f9e3097", - "name": "OK.", - "originalRequest": { - "url": { - "path": [ - "org" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Entity tag.", - "type": "text/plain" - }, - "key": "ETag", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Last modified date.", - "type": "text/plain" - }, - "key": "Last-Modified", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Links to alternate or related resources.", - "type": "text/plain" - }, - "key": "Link", - "value": "" - } - ], - "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"dateCreated\": \"\",\n \"lastUpdated\": \"\",\n \"scriptName\": \"\",\n \"ssoDomain\": \"\",\n \"status\": \"test\",\n \"maxRegisteredIdentities\": \"\",\n \"identityCount\": \"\",\n \"kbaReqForAuthn\": \"\",\n \"kbaReqAnswers\": \"\",\n \"lockoutAttemptThreshold\": \"\",\n \"lockoutTimeMinutes\": \"\",\n \"usageCertRequired\": \"\",\n \"adminStrongAuthRequired\": \"\",\n \"enableExternalPasswordChange\": \"\",\n \"enablePasswordReplay\": \"\",\n \"enableAutomaticPasswordReplay\": \"\",\n \"netmasks\": [\n \"\",\n \"\"\n ],\n \"countryCodes\": [\n \"\",\n \"\"\n ],\n \"whiteList\": \"\",\n \"emailTestMode\": \"\",\n \"emailTestAddress\": \"\",\n \"usernameEmptyText\": \"\",\n \"usernameLabel\": \"\",\n \"enableAutomationGeneration\": \"\",\n \"passwordReplayState\": \"passive\",\n \"systemNotificationConfig\": {\n \"notifications\": [\n {\n \"type\": \"\",\n \"byEmail\": \"\",\n \"thresholds\": {\n \"healthy\": \"\",\n \"unhealthy\": \"\"\n }\n },\n {\n \"type\": \"\",\n \"byEmail\": \"\",\n \"thresholds\": {\n \"healthy\": \"\",\n \"unhealthy\": \"\"\n }\n }\n ],\n \"recipientType\": \"specificIdentities\"\n },\n \"systemNotificationEmails\": [\n \"\",\n \"\"\n ],\n \"loginUrl\": \"\",\n \"redirectPatterns\": [\n \"\",\n \"\"\n ],\n \"styleHash\": \"\",\n \"approvalConfig\": {\n \"daysTillEscalation\": \"\",\n \"daysBetweenReminders\": \"\",\n \"maxReminders\": \"\",\n \"fallbackApprover\": \"\"\n },\n \"ssoPartnerSource\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "431cbe95-7e84-4d9f-954b-071ce6486b62", - "name": "Updates one or more org attributes.", - "request": { - "name": "Updates one or more org attributes.", - "description": { - "content": "Updates one or more attributes for your org.", - "type": "text/plain" - }, - "url": { - "path": [ - "org" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PATCH", - "body": { - "mode": "raw", - "raw": "{\n \"countryCodes\": [\n \"\",\n \"\"\n ],\n \"enableExternalPasswordChange\": \"\",\n \"enableAutomaticPasswordReplay\": \"\",\n \"enableAutomationGeneration\": \"\",\n \"kbaReqAnswers\": \"\",\n \"kbaReqForAuthn\": \"\",\n \"lockoutAttemptThreshold\": \"\",\n \"lockoutTimeMinutes\": \"\",\n \"loginUrl\": \"\",\n \"netmasks\": [\n \"\",\n \"\"\n ],\n \"notifyAuthenticationSettingChange\": \"\",\n \"passwordReplayState\": \"passive\",\n \"preferredIdentityInviteTemplate\": \"\",\n \"redirectPatterns\": [\n \"\",\n \"\"\n ],\n \"ssoPartnerSource\": \"\",\n \"systemNotificationEmails\": [\n \"\",\n \"\"\n ],\n \"trackAnalytics\": \"\",\n \"usageCertRequired\": \"\",\n \"usageCertText\": \"\",\n \"usernameEmptyText\": \"\",\n \"usernameLabel\": \"\",\n \"whiteList\": \"\",\n \"approvalConfig\": {\n \"daysTillEscalation\": \"\",\n \"daysBetweenReminders\": \"\",\n \"maxReminders\": \"\",\n \"fallbackApprover\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "0209541e-c2b1-4ddf-bed6-8292e786e116", - "name": "OK.", - "originalRequest": { - "url": { - "path": [ - "org" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PATCH", - "body": { - "mode": "raw", - "raw": "{\n \"countryCodes\": [\n \"\",\n \"\"\n ],\n \"enableExternalPasswordChange\": \"\",\n \"enableAutomaticPasswordReplay\": \"\",\n \"enableAutomationGeneration\": \"\",\n \"kbaReqAnswers\": \"\",\n \"kbaReqForAuthn\": \"\",\n \"lockoutAttemptThreshold\": \"\",\n \"lockoutTimeMinutes\": \"\",\n \"loginUrl\": \"\",\n \"netmasks\": [\n \"\",\n \"\"\n ],\n \"notifyAuthenticationSettingChange\": \"\",\n \"passwordReplayState\": \"passive\",\n \"preferredIdentityInviteTemplate\": \"\",\n \"redirectPatterns\": [\n \"\",\n \"\"\n ],\n \"ssoPartnerSource\": \"\",\n \"systemNotificationEmails\": [\n \"\",\n \"\"\n ],\n \"trackAnalytics\": \"\",\n \"usageCertRequired\": \"\",\n \"usageCertText\": \"\",\n \"usernameEmptyText\": \"\",\n \"usernameLabel\": \"\",\n \"whiteList\": \"\",\n \"approvalConfig\": {\n \"daysTillEscalation\": \"\",\n \"daysBetweenReminders\": \"\",\n \"maxReminders\": \"\",\n \"fallbackApprover\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "disabled": false, - "description": { - "content": "Entity tag.", - "type": "text/plain" - }, - "key": "ETag", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Last modified date.", - "type": "text/plain" - }, - "key": "Last-Modified", - "value": "" - }, - { - "disabled": false, - "description": { - "content": "Links to alternate or related resources.", - "type": "text/plain" - }, - "key": "Link", - "value": "" - } - ], - "body": "{\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"dateCreated\": \"\",\n \"lastUpdated\": \"\",\n \"scriptName\": \"\",\n \"ssoDomain\": \"\",\n \"status\": \"test\",\n \"maxRegisteredIdentities\": \"\",\n \"identityCount\": \"\",\n \"kbaReqForAuthn\": \"\",\n \"kbaReqAnswers\": \"\",\n \"lockoutAttemptThreshold\": \"\",\n \"lockoutTimeMinutes\": \"\",\n \"usageCertRequired\": \"\",\n \"adminStrongAuthRequired\": \"\",\n \"enableExternalPasswordChange\": \"\",\n \"enablePasswordReplay\": \"\",\n \"enableAutomaticPasswordReplay\": \"\",\n \"netmasks\": [\n \"\",\n \"\"\n ],\n \"countryCodes\": [\n \"\",\n \"\"\n ],\n \"whiteList\": \"\",\n \"emailTestMode\": \"\",\n \"emailTestAddress\": \"\",\n \"usernameEmptyText\": \"\",\n \"usernameLabel\": \"\",\n \"enableAutomationGeneration\": \"\",\n \"passwordReplayState\": \"passive\",\n \"systemNotificationConfig\": {\n \"notifications\": [\n {\n \"type\": \"\",\n \"byEmail\": \"\",\n \"thresholds\": {\n \"healthy\": \"\",\n \"unhealthy\": \"\"\n }\n },\n {\n \"type\": \"\",\n \"byEmail\": \"\",\n \"thresholds\": {\n \"healthy\": \"\",\n \"unhealthy\": \"\"\n }\n }\n ],\n \"recipientType\": \"specificIdentities\"\n },\n \"systemNotificationEmails\": [\n \"\",\n \"\"\n ],\n \"loginUrl\": \"\",\n \"redirectPatterns\": [\n \"\",\n \"\"\n ],\n \"styleHash\": \"\",\n \"approvalConfig\": {\n \"daysTillEscalation\": \"\",\n \"daysBetweenReminders\": \"\",\n \"maxReminders\": \"\",\n \"fallbackApprover\": \"\"\n },\n \"ssoPartnerSource\": \"\"\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "workgroups", - "description": "", - "item": [ - { - "id": "9aa7ab0a-23f1-4edd-bc62-a6f504763ce5", - "name": "List Work Groups", - "request": { - "name": "List Work Groups", - "description": { - "content": "This API returns a list of work groups", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Max number of results to return", - "type": "text/plain" - }, - "key": "limit", - "value": "250" - }, - { - "disabled": false, - "description": { - "content": "Offset into the full result set. Usually specified with *limit* to paginate through the results.", - "type": "text/plain" - }, - "key": "offset", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Filter results using the following syntax.\n[{property:name, value: \"Tyler\", operation: EQ}]", - "type": "text/plain" - }, - "key": "filters", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "9ee13479-e78d-4503-a28e-20ef722da9cb", - "name": "List of work group objects", - "originalRequest": { - "url": { - "path": [ - "workgroups" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Max number of results to return", - "type": "text/plain" - }, - "key": "limit", - "value": "250" - }, - { - "disabled": false, - "description": { - "content": "Offset into the full result set. Usually specified with *limit* to paginate through the results.", - "type": "text/plain" - }, - "key": "offset", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Filter results using the following syntax.\n[{property:name, value: \"Tyler\", operation: EQ}]", - "type": "text/plain" - }, - "key": "filters", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"connectionCount\": \"\",\n \"created\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"memberCount\": \"\",\n \"modified\": \"\",\n \"name\": \"\",\n \"owner\": {\n \"displayName\": \"\",\n \"emailAddress\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"connectionCount\": \"\",\n \"created\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"memberCount\": \"\",\n \"modified\": \"\",\n \"name\": \"\",\n \"owner\": {\n \"displayName\": \"\",\n \"emailAddress\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n }\n]", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "1eb000b4-1dd0-4f58-925b-81c0c6e15843", - "name": "Create Work Group", - "request": { - "name": "Create Work Group", - "description": { - "content": "This API allows you to create a work group", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"owner\": {\n \"id\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "b22a1a86-ecd4-4969-9514-78bd4cb9520d", - "name": "List of work group objects", - "originalRequest": { - "url": { - "path": [ - "workgroups" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"owner\": {\n \"id\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"connectionCount\": \"\",\n \"created\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"memberCount\": \"\",\n \"modified\": \"\",\n \"name\": \"\",\n \"owner\": {\n \"displayName\": \"\",\n \"emailAddress\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"connectionCount\": \"\",\n \"created\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"memberCount\": \"\",\n \"modified\": \"\",\n \"name\": \"\",\n \"owner\": {\n \"displayName\": \"\",\n \"emailAddress\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n }\n]", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "name": "{workgroupId}", - "description": "", - "item": [ - { - "id": "5506ab56-6970-42b0-ba50-90df4b47aa8c", - "name": "Get Work Group By Id", - "request": { - "name": "Get Work Group By Id", - "description": { - "content": "This API returns the details for a single workgroup based on the ID", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups", - ":workgroupId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "workgroupId", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "1fa37f55-b9a9-4249-bf55-69048de5f032", - "name": "Workgroup object", - "originalRequest": { - "url": { - "path": [ - "workgroups", - ":workgroupId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"connectionCount\": \"\",\n \"created\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"memberCount\": \"\",\n \"modified\": \"\",\n \"name\": \"\",\n \"owner\": {\n \"displayName\": \"\",\n \"emailAddress\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "464746ef-63fa-4955-9c0a-7bac6dfa2bad", - "name": "Update Work Group By Id", - "request": { - "name": "Update Work Group By Id", - "description": { - "content": "This API updates and returns the details for a single workgroup based on the ID", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups", - ":workgroupId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "workgroupId", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "PATCH", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"owner\": {\n \"id\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "f925e560-99b2-4586-a5cc-3965f25572a7", - "name": "Workgroup object", - "originalRequest": { - "url": { - "path": [ - "workgroups", - ":workgroupId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "PATCH", - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\",\n \"description\": \"\",\n \"owner\": {\n \"id\": \"\"\n }\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"connectionCount\": \"\",\n \"created\": \"\",\n \"description\": \"\",\n \"id\": \"\",\n \"memberCount\": \"\",\n \"modified\": \"\",\n \"name\": \"\",\n \"owner\": {\n \"displayName\": \"\",\n \"emailAddress\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "f30191af-26da-4a7b-84de-5c4a47c1985a", - "name": "Delete Work Group By Id", - "request": { - "name": "Delete Work Group By Id", - "description": { - "content": "This API deletes a single workgroup based on the ID", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups", - ":workgroupId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "workgroupId", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "DELETE", - "body": {} - }, - "response": [ - { - "id": "760da5c6-ad93-42a1-aed2-56c0cf7474b9", - "name": "Empty response on successful deletion", - "originalRequest": { - "url": { - "path": [ - "workgroups", - ":workgroupId" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "DELETE", - "body": {} - }, - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "name": "members", - "description": "", - "item": [ - { - "id": "71d1ad39-f66c-4938-aa79-71e5897f450b", - "name": "List Work Group Members", - "request": { - "name": "List Work Group Members", - "description": { - "content": "This API returns the members of a work group", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups", - ":workgroupId", - "members" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Max number of results to return", - "type": "text/plain" - }, - "key": "limit", - "value": "250" - }, - { - "disabled": false, - "description": { - "content": "Offset into the full result set. Usually specified with *limit* to paginate through the results.", - "type": "text/plain" - }, - "key": "offset", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Filter results using the following syntax.\n[{property:name, value: \"Tyler\", operation: EQ}]", - "type": "text/plain" - }, - "key": "filters", - "value": "" - } - ], - "variable": [ - { - "type": "any", - "value": "", - "key": "workgroupId", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "3d2a6b6b-b621-4437-a689-0f024949dc34", - "name": "List of work group member objects", - "originalRequest": { - "url": { - "path": [ - "workgroups", - ":workgroupId", - "members" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [ - { - "disabled": false, - "description": { - "content": "Max number of results to return", - "type": "text/plain" - }, - "key": "limit", - "value": "250" - }, - { - "disabled": false, - "description": { - "content": "Offset into the full result set. Usually specified with *limit* to paginate through the results.", - "type": "text/plain" - }, - "key": "offset", - "value": "0" - }, - { - "disabled": false, - "description": { - "content": "Filter results using the following syntax.\n[{property:name, value: \"Tyler\", operation: EQ}]", - "type": "text/plain" - }, - "key": "filters", - "value": "" - } - ], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"alias\": \"\",\n \"email\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n },\n {\n \"alias\": \"\",\n \"email\": \"\",\n \"externalId\": \"\",\n \"id\": \"\",\n \"name\": \"\"\n }\n]", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - }, - { - "id": "2a58b308-e7ee-4bd1-a4dc-eea78016e830", - "name": "Modify Work Group Members", - "request": { - "name": "Modify Work Group Members", - "description": { - "content": "This API allows you to modify the members of a work group", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups", - ":workgroupId", - "members" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "workgroupId", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"add\": [\n \"\",\n \"\"\n ],\n \"remove\": [\n \"\",\n \"\"\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "069df703-74f7-4e17-a70b-3a2b97f671ae", - "name": "Empty response on successful deletion", - "originalRequest": { - "url": { - "path": [ - "workgroups", - ":workgroupId", - "members" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"add\": [\n \"\",\n \"\"\n ],\n \"remove\": [\n \"\",\n \"\"\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "No Content", - "code": 204, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - }, - { - "name": "connections", - "description": "", - "item": [ - { - "id": "ece0ac5f-0229-4c7f-b0a1-d5157e1d3958", - "name": "List Work Group Connections", - "request": { - "name": "List Work Group Connections", - "description": { - "content": "This API returns the connections of a work group", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups", - ":workgroupId", - "connections" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [ - { - "type": "any", - "value": "", - "key": "workgroupId", - "disabled": false - } - ] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "GET", - "body": {} - }, - "response": [ - { - "id": "bf75679d-9046-4c8e-b1ed-084e65aec0a0", - "name": "List of work group connection objects", - "originalRequest": { - "url": { - "path": [ - "workgroups", - ":workgroupId", - "connections" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "GET", - "body": {} - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "[\n {\n \"connectionType\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"objectId\": \"\",\n \"objectType\": \"\",\n \"workgroupId\": \"\"\n },\n {\n \"connectionType\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"objectId\": \"\",\n \"objectType\": \"\",\n \"workgroupId\": \"\"\n }\n]", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - }, - { - "name": "bulk-delete", - "description": "", - "item": [ - { - "id": "6ae052fe-79dd-4925-a613-ae7f8ead696e", - "name": "Bulk delete work groups", - "request": { - "name": "Bulk delete work groups", - "description": { - "content": "This API allows you to bulk-delete work groups", - "type": "text/plain" - }, - "url": { - "path": [ - "workgroups", - "bulk-delete" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"ids\": [\n \"\",\n \"\"\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "response": [ - { - "id": "411fb7e2-8c00-443c-bc0b-4588825e1cdb", - "name": "List of work group objects", - "originalRequest": { - "url": { - "path": [ - "workgroups", - "bulk-delete" - ], - "host": [ - "{{baseUrl}}" - ], - "query": [], - "variable": [] - }, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": { - "content": "Added as a part of security scheme: oauth2", - "type": "text/plain" - }, - "key": "Authorization", - "value": "" - } - ], - "method": "POST", - "body": { - "mode": "raw", - "raw": "{\n \"ids\": [\n \"\",\n \"\"\n ]\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - } - }, - "status": "OK", - "code": 200, - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"deleted\": [\n \"\",\n \"\"\n ],\n \"inUse\": [\n \"\",\n \"\"\n ],\n \"notFound\": [\n \"\",\n \"\"\n ]\n}", - "cookie": [], - "_postman_previewlanguage": "json" - } - ], - "event": [], - "protocolProfileBehavior": { - "disableBodyPruning": true - } - } - ] - } - ] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "const domain = pm.environment.get('domain') ? pm.environment.get('domain') : pm.collectionVariables.get('domain')", - "const tokenUrl = 'https://' + pm.environment.get('tenant') + '.api.' + domain + '.com/oauth/token';", - "const clientId = pm.environment.get('clientId');", - "const clientSecret = pm.environment.get('clientSecret');", - "", - "const getTokenRequest = {", - " method: 'POST',", - " url: tokenUrl,", - " body: {", - " mode: 'formdata',", - " formdata: [{", - " key: 'grant_type',", - " value: 'client_credentials'", - " },", - " {", - " key: 'client_id',", - " value: clientId", - " },", - " {", - " key: 'client_secret',", - " value: clientSecret", - " }", - " ]", - " }", - "};", - "", - "", - "var moment = require('moment');", - "if (!pm.environment.has('tokenExpTime')) {", - " pm.environment.set('tokenExpTime', moment());", - "}", - "", - "if (moment(pm.environment.get('tokenExpTime')) <= moment() || !pm.environment.get('tokenExpTime') || !pm.environment.get('accessToken')) {", - " var time = moment();", - " time.add(12, 'hours');", - " pm.environment.set('tokenExpTime', time);", - " pm.sendRequest(getTokenRequest, (err, response) => {", - " const jsonResponse = response.json();", - " if (response.code != 200) {", - " throw new Error(`Unable to authenticate: ${JSON.stringify(jsonResponse)}`);", - " }", - " const newAccessToken = jsonResponse.access_token;", - " pm.environment.set('accessToken', newAccessToken);", - " });", - "", - "}" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ], - "variable": [ - { - "key": "domain", - "value": "identitynow", - "type": "string" - }, - { - "key": "baseUrl", - "value": "https://{{tenant}}.api.{{domain}}.com/v2", - "type": "string" - } - ], - "info": { - "_postman_id": "79bdf996-5604-48d6-b0c1-d81aaf41e610", - "name": "SailPoint SaaS API", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "description": { - "content": "", - "type": "text/plain" - } - }, - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{accessToken}}", - "type": "string" - } - ] - } -} \ No newline at end of file diff --git a/postman/links/cc-link.txt b/postman/links/cc-link.txt deleted file mode 100644 index 5127f551..00000000 --- a/postman/links/cc-link.txt +++ /dev/null @@ -1 +0,0 @@ -https://god.gw.postman.com/run-collection/23226990-4ec40b38-cdac-44bf-a07c-8606895d2233?action=collection%2Ffork&collection-url=entityId%3D23226990-4ec40b38-cdac-44bf-a07c-8606895d2233%26entityType%3Dcollection%26workspaceId%3D80af54be-a333-4712-af5e-41aa9eccbdd0 \ No newline at end of file diff --git a/postman/links/v2-link.txt b/postman/links/v2-link.txt deleted file mode 100644 index 22b4989f..00000000 --- a/postman/links/v2-link.txt +++ /dev/null @@ -1 +0,0 @@ -https://god.gw.postman.com/run-collection/23226990-624bf09b-7d1b-4ee6-9833-4b581b41db40?action=collection%2Ffork&collection-url=entityId%3D23226990-624bf09b-7d1b-4ee6-9833-4b581b41db40%26entityType%3Dcollection%26workspaceId%3D80af54be-a333-4712-af5e-41aa9eccbdd0 \ No newline at end of file