sailpoint-api-client
TypeScript icon, indicating that this package has built-in type declarations

1.4.8 • Public • Published

SailPoint API Client

Description

A typescript sdk for accessing the SailPoint IdentityNow REST API's.

Installation

npm install sailpoint-api-client

Create a configuration file or save your configuration as environment variables

You can create a local configuration file using the CLI tool or you can store your configuration in environment variables

  • SAIL_BASE_URL
  • SAIL_CLIENT_ID
  • SAIL_CLIENT_SECRET

Examples

Simply import the API you want to work with, create a new configuration and get started.

import { Configuration, TransformsApi, TransformsApiCreateTransformRequest} from "sailpoint-api-client"

const createTransform = async () => {

    let apiConfig = new Configuration()
    let api = new TransformsApi(apiConfig)
    let transform: TransformsApiCreateTransformRequest = 
    {
        transform:
        {
            name: "Test Transform",
            type: "dateFormat",
            attributes: {
                inputFormat: "MMM dd yyyy, HH:mm:ss.SSS",
                outputFormat: "yyyy/dd/MM"
            }
        }
    }
    const val = await api.createTransform(transform)
    console.log(val)
}

createTransform()

See more uses of the SDK here

Package Sidebar

Install

npm i sailpoint-api-client

Weekly Downloads

287

Version

1.4.8

License

MIT

Unpacked Size

37.6 MB

Total Files

100

Last publish

Collaborators

  • sailpointdevops