Skip to content

About

Python package for accessing SailPoint APIs

Resources

Code of conduct

Contributing

Stars

13 stars

Watchers

2 watching

Forks

Latest commit

 

History

817 Commits

Folders and files

Repository files navigation

Python SailPoint SDK

Discourse Topics Times Downloaded Issues Latest Releases Contributor Shield License Shield

About the project

The Python SDK allows you to use Python to interact with the SailPoint APIs and other resources to customize and extend your SailPoint platform.

Documentation

To get started with the Python SDK and learn about its various functionalities, refer to the documentation on https://developer.sailpoint.com.

Calling any API with the generic client

The generic client calls any SailPoint versioned API by its path, including APIs that do not have a resource-specific client or documentation yet. The path includes the API version, for example accounts/v1. The client uses the same configuration, authentication and retries as the other clients.

  • Each path segment is URL-encoded. Pass the segments unencoded.
  • Anything after a ? in the path is sent as query parameters.
  • A PATCH body is a JSON Patch list, sent as application/json-patch+json.
from sailpoint import ApiClient, Configuration, GenericApi

with ApiClient(Configuration()) as api_client:
    api = GenericApi(api_client)

    accounts = api.generic_get(path="accounts/v1", limit=10, filters='sourceId eq "2c91808a"')
    api.generic_patch(
        path="transforms/v1/2c91808a",
        request_body=[{"op": "replace", "path": "/attributes/input", "value": "lower"}],
    )

Contributing

The SailPoint Developer Relations Team is always actively working to improve the SailPoint Python SDK to make it as useful as possible to the SailPoint Developer Community. This means adding and maintaining new resources and functionalities for the SDK. The most valuable resource of all, however, is the community itself! We greatly appreciate any input, feedback, and direct contributions you can provide to the Python SDK, big or small.

Refer to our contribution guidelines to learn more about the different ways you can contribute to the SDK.

Before you contribute, you must sign our CLA.

License

Distributed under the MIT License. Refer to the license for more information.

Code of Conduct

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. Read our code of conduct to learn more.

About

Python package for accessing SailPoint APIs

Resources

Code of conduct

Contributing

Stars

13 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages