Skip to main content

MachineAccountCreationRequestApi

Use this API to submit and retrieve machine account creation requests.

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

MethodHTTP requestDescription
create-machine-account-request-v1POST /account-requests/v1/machine-account-createSubmit Machine Account Creation Request
get-create-machine-account-request-v1GET /account-requests/v1/machine-account-create/{accountRequestId}Get Machine Account Creation Request
get-machine-account-create-access-info-v1GET /source-subtypes/v1/machine-account-create-accessMachine Account Create Access

create-machine-account-request-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.

Submit Machine Account Creation Request Initiates machine account creation request for the specified subtype. This method validates the input data, processes the machine account creation request, and generates an asynchronous result containing a tracking ID.

NOTE: You can only request a machine accounts on subtype for which you have a create machine account entitlement provisioned.

API Spec

Parameters

NameTypeDescriptionNotes
machineaccountcreaterequestinputMachineaccountcreaterequestinput
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Accountrequestasyncresult

HTTP request headers

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

Example

import { MachineAccountCreationRequestApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';
import { Machineaccountcreaterequestinput } from 'sailpoint-api-client/dist/machine_account_creation_request/api';

const configuration = new Configuration();
const apiInstance = new MachineAccountCreationRequestApi(configuration);
const machineaccountcreaterequestinput: Machineaccountcreaterequestinput = ; //
const xSailPointExperimental: string = true; // Use this header to enable this experimental API. (optional)
const result = await apiInstance.createMachineAccountRequestV1({ machineaccountcreaterequestinput: machineaccountcreaterequestinput });
console.log(result);

[Back to top]

get-create-machine-account-request-v1

experimental

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

Get Machine Account Creation Request Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.

API Spec

Parameters

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

Return type

Accountrequestdetailsdto

HTTP request headers

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

Example

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

const configuration = new Configuration();
const apiInstance = new MachineAccountCreationRequestApi(configuration);
const xSailPointExperimental: string = true; // Use this header to enable this experimental API.
const accountRequestId: string = gt38f94347e94562b5bb8424a56498d8; // Account Request ID
const result = await apiInstance.getCreateMachineAccountRequestV1({ xSailPointExperimental: xSailPointExperimental, accountRequestId: accountRequestId });
console.log(result);

[Back to top]

get-machine-account-create-access-info-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.

Machine Account Create Access This endpoint retrieves the list of sources and subtypes for which logged in user has the entitlement to create a machine account. The response includes a list of object detailing the source, subtype and entitlement details which enables the clients to understand if they can submit the request to create a machine account for the given subtype.

API Spec

Parameters

NameTypeDescriptionNotes
xSailPointExperimentalstringUse this header to enable this experimental API.[default to 'true']
offsetnumberOffset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in V3 API Standard Collection Parameters. The offset value is record-based, not page-based, and the index starts at 0.[optional] [default to 0]
limitnumberLimit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in V3 API Standard Collection Parameters. If it is not specified, a default limit is used.[optional] [default to 250]

Return type

Array<Machineaccountcreateaccessdto>

HTTP request headers

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

Example

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

const configuration = new Configuration();
const apiInstance = new MachineAccountCreationRequestApi(configuration);
const xSailPointExperimental: string = true; // Use this header to enable this experimental API.
const offset: number = 0; // Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. (optional)
const limit: number = 250; // Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional)
const result = await apiInstance.getMachineAccountCreateAccessInfoV1({ xSailPointExperimental: xSailPointExperimental });
console.log(result);

[Back to top]