Skip to main content

DeclassifySourceApi

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

MethodHTTP requestDescription
send-declassify-machine-account-from-source-v1POST /sources/v1/{sourceId}/declassifyDeclassify source's all accounts

send-declassify-machine-account-from-source-v1

experimental

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

Declassify source's all accounts Use this API to declassify all the accounts from a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.

API Spec

Parameters

NameTypeDescriptionNotes
sourceIdstringSource ID.[default to undefined]
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

(empty response body)

HTTP request headers

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

Example

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

const configuration = new Configuration();
const apiInstance = new DeclassifySourceApi(configuration);
const sourceId: string = ef38f94347e94562b5bb8424a56397d8; // Source ID.
const xSailPointExperimental: string = true; // Use this header to enable this experimental API. (optional)
const result = await apiInstance.sendDeclassifyMachineAccountFromSourceV1({ sourceId: sourceId });
console.log(result);

[Back to top]