--- id: beta-launchers title: Launchers pagination_label: Launchers sidebar_label: Launchers sidebar_class_name: pythonsdk keywords: ['python', 'Python', 'sdk', 'Launchers', 'BetaLaunchers'] slug: /tools/sdk/python/beta/methods/launchers tags: ['SDK', 'Software Development Kit', 'Launchers', 'BetaLaunchers'] --- # sailpoint.beta.LaunchersApi Use this API to manage Launchers. Launchers are objects that allow users to launch various tasks from ISC such as Privileged Workflows. All URIs are relative to *https://sailpoint.api.identitynow.com/beta* Method | HTTP request | Description ------------- | ------------- | ------------- [**create-launcher**](#create-launcher) | **POST** `/launchers` | Create launcher [**delete-launcher**](#delete-launcher) | **DELETE** `/launchers/{launcherID}` | Delete Launcher [**get-launcher**](#get-launcher) | **GET** `/launchers/{launcherID}` | Get Launcher by ID [**get-launchers**](#get-launchers) | **GET** `/launchers` | List all Launchers for tenant [**put-launcher**](#put-launcher) | **PUT** `/launchers/{launcherID}` | Replace Launcher [**start-launcher**](#start-launcher) | **POST** `/beta/launchers/{launcherID}/launch` | Launch a Launcher ## create-launcher Create launcher Create a Launcher with given information [API Spec](https://developer.sailpoint.com/docs/api/beta/create-launcher) ### Parameters Param Type | Name | Data Type | Required | Description ------------- | ------------- | ------------- | ------------- | ------------- Body | launcher_request | [**LauncherRequest**](../models/launcher-request) | True | Payload to create a Launcher ### Return type [**Launcher**](../models/launcher) ### Responses Code | Description | Data Type | Response headers | ------------- | ------------- | ------------- |------------------| 201 | Launcher created successfully | Launcher | - | 400 | Client Error - Returned if the request body is invalid. | ErrorResponseDto | - | 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | ListAccessModelMetadataAttribute401Response | - | 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | ErrorResponseDto | - | 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | ErrorResponseDto | - | 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | ListAccessModelMetadataAttribute429Response | - | 500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto | - | ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### Example ```python import sailpoint.beta from sailpoint.beta.api.launchers_api import LaunchersApi from sailpoint.beta.api_client import ApiClient from sailpoint.beta.models.launcher import Launcher from sailpoint.beta.models.launcher_request import LauncherRequest from pprint import pprint from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: launcher_request = { "reference" : { "id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5", "type" : "WORKFLOW" }, "name" : "Group Create", "description" : "Create a new Active Directory Group", "disabled" : false, "type" : "INTERACTIVE_PROCESS", "config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}" } # LauncherRequest | Payload to create a Launcher try: # Create launcher new_launcher_request = LauncherRequest() new_launcher_request.from_json(launcher_request) results =LaunchersApi(api_client).create_launcher(new_launcher_request) # Below is a request that includes all optional parameters # results = LaunchersApi(api_client).create_launcher(new_launcher_request) print("The response of LaunchersApi->create_launcher:\n") pprint(results) except Exception as e: print("Exception when calling LaunchersApi->create_launcher: %s\n" % e) ``` [[Back to top]](#) ## delete-launcher Delete Launcher Delete the given Launcher ID [API Spec](https://developer.sailpoint.com/docs/api/beta/delete-launcher) ### Parameters Param Type | Name | Data Type | Required | Description ------------- | ------------- | ------------- | ------------- | ------------- Path | launcher_id | **str** | True | ID of the Launcher to be deleted ### Return type (empty response body) ### Responses Code | Description | Data Type | Response headers | ------------- | ------------- | ------------- |------------------| 204 | Launcher deleted successfully | | - | 400 | Client Error - Returned if the request body is invalid. | ErrorResponseDto | - | 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | ListAccessModelMetadataAttribute401Response | - | 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | ErrorResponseDto | - | 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | ErrorResponseDto | - | 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | ListAccessModelMetadataAttribute429Response | - | 500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto | - | ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### Example ```python import sailpoint.beta from sailpoint.beta.api.launchers_api import LaunchersApi from sailpoint.beta.api_client import ApiClient from pprint import pprint from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: launcher_id = 'e3012408-8b61-4564-ad41-c5ec131c325b' # str | ID of the Launcher to be deleted # str | ID of the Launcher to be deleted try: # Delete Launcher LaunchersApi(api_client).delete_launcher(launcher_id) # Below is a request that includes all optional parameters # LaunchersApi(api_client).delete_launcher(launcher_id) except Exception as e: print("Exception when calling LaunchersApi->delete_launcher: %s\n" % e) ``` [[Back to top]](#) ## get-launcher Get Launcher by ID Get details for the given Launcher ID [API Spec](https://developer.sailpoint.com/docs/api/beta/get-launcher) ### Parameters Param Type | Name | Data Type | Required | Description ------------- | ------------- | ------------- | ------------- | ------------- Path | launcher_id | **str** | True | ID of the Launcher to be retrieved ### Return type [**Launcher**](../models/launcher) ### Responses Code | Description | Data Type | Response headers | ------------- | ------------- | ------------- |------------------| 200 | Launcher retrieved successfully | Launcher | - | 400 | Client Error - Returned if the request body is invalid. | ErrorResponseDto | - | 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | ListAccessModelMetadataAttribute401Response | - | 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | ErrorResponseDto | - | 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | ErrorResponseDto | - | 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | ListAccessModelMetadataAttribute429Response | - | 500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto | - | ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### Example ```python import sailpoint.beta from sailpoint.beta.api.launchers_api import LaunchersApi from sailpoint.beta.api_client import ApiClient from sailpoint.beta.models.launcher import Launcher from pprint import pprint from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: launcher_id = 'e3012408-8b61-4564-ad41-c5ec131c325b' # str | ID of the Launcher to be retrieved # str | ID of the Launcher to be retrieved try: # Get Launcher by ID results =LaunchersApi(api_client).get_launcher(launcher_id) # Below is a request that includes all optional parameters # results = LaunchersApi(api_client).get_launcher(launcher_id) print("The response of LaunchersApi->get_launcher:\n") pprint(results) except Exception as e: print("Exception when calling LaunchersApi->get_launcher: %s\n" % e) ``` [[Back to top]](#) ## get-launchers List all Launchers for tenant Return a list of Launchers for the authenticated tenant [API Spec](https://developer.sailpoint.com/docs/api/beta/get-launchers) ### Parameters Param Type | Name | Data Type | Required | Description ------------- | ------------- | ------------- | ------------- | ------------- Query | filters | **str** | (optional) | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **description**: *sw* **disabled**: *eq* **name**: *sw* Query | next | **str** | (optional) | Pagination marker Query | limit | **int** | (optional) (default to 10) | Number of Launchers to return ### Return type [**GetLaunchers200Response**](../models/get-launchers200-response) ### Responses Code | Description | Data Type | Response headers | ------------- | ------------- | ------------- |------------------| 200 | List of Launchers | GetLaunchers200Response | - | 400 | Client Error - Returned if the request body is invalid. | ErrorResponseDto | - | 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | ListAccessModelMetadataAttribute401Response | - | 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | ErrorResponseDto | - | 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | ErrorResponseDto | - | 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | ListAccessModelMetadataAttribute429Response | - | 500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto | - | ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### Example ```python import sailpoint.beta from sailpoint.beta.api.launchers_api import LaunchersApi from sailpoint.beta.api_client import ApiClient from sailpoint.beta.models.get_launchers200_response import GetLaunchers200Response from pprint import pprint from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: filters = 'disabled eq \"true\"' # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **description**: *sw* **disabled**: *eq* **name**: *sw* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **description**: *sw* **disabled**: *eq* **name**: *sw* (optional) next = 'eyJuZXh0IjoxMjN9Cg==' # str | Pagination marker (optional) # str | Pagination marker (optional) limit = 10 # int | Number of Launchers to return (optional) (default to 10) # int | Number of Launchers to return (optional) (default to 10) try: # List all Launchers for tenant results =LaunchersApi(api_client).get_launchers() # Below is a request that includes all optional parameters # results = LaunchersApi(api_client).get_launchers(filters, next, limit) print("The response of LaunchersApi->get_launchers:\n") pprint(results) except Exception as e: print("Exception when calling LaunchersApi->get_launchers: %s\n" % e) ``` [[Back to top]](#) ## put-launcher Replace Launcher Replace the given Launcher ID with given payload [API Spec](https://developer.sailpoint.com/docs/api/beta/put-launcher) ### Parameters Param Type | Name | Data Type | Required | Description ------------- | ------------- | ------------- | ------------- | ------------- Path | launcher_id | **str** | True | ID of the Launcher to be replaced Body | launcher_request | [**LauncherRequest**](../models/launcher-request) | True | Payload to replace Launcher ### Return type [**Launcher**](../models/launcher) ### Responses Code | Description | Data Type | Response headers | ------------- | ------------- | ------------- |------------------| 200 | Launcher replaced successfully | Launcher | - | 400 | Client Error - Returned if the request body is invalid. | ErrorResponseDto | - | 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | ListAccessModelMetadataAttribute401Response | - | 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | ErrorResponseDto | - | 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | ErrorResponseDto | - | 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | ListAccessModelMetadataAttribute429Response | - | 500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto | - | ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### Example ```python import sailpoint.beta from sailpoint.beta.api.launchers_api import LaunchersApi from sailpoint.beta.api_client import ApiClient from sailpoint.beta.models.launcher import Launcher from sailpoint.beta.models.launcher_request import LauncherRequest from pprint import pprint from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: launcher_id = 'e3012408-8b61-4564-ad41-c5ec131c325b' # str | ID of the Launcher to be replaced # str | ID of the Launcher to be replaced launcher_request = { "reference" : { "id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5", "type" : "WORKFLOW" }, "name" : "Group Create", "description" : "Create a new Active Directory Group", "disabled" : false, "type" : "INTERACTIVE_PROCESS", "config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}" } # LauncherRequest | Payload to replace Launcher try: # Replace Launcher new_launcher_request = LauncherRequest() new_launcher_request.from_json(launcher_request) results =LaunchersApi(api_client).put_launcher(launcher_id, new_launcher_request) # Below is a request that includes all optional parameters # results = LaunchersApi(api_client).put_launcher(launcher_id, new_launcher_request) print("The response of LaunchersApi->put_launcher:\n") pprint(results) except Exception as e: print("Exception when calling LaunchersApi->put_launcher: %s\n" % e) ``` [[Back to top]](#) ## start-launcher Launch a Launcher Launch the given Launcher ID [API Spec](https://developer.sailpoint.com/docs/api/beta/start-launcher) ### Parameters Param Type | Name | Data Type | Required | Description ------------- | ------------- | ------------- | ------------- | ------------- Path | launcher_id | **str** | True | ID of the Launcher to be launched ### Return type [**StartLauncher200Response**](../models/start-launcher200-response) ### Responses Code | Description | Data Type | Response headers | ------------- | ------------- | ------------- |------------------| 200 | Launcher launched successfully | StartLauncher200Response | - | 400 | Client Error - Returned if the request body is invalid. | ErrorResponseDto | - | 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | ListAccessModelMetadataAttribute401Response | - | 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | ErrorResponseDto | - | 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | ErrorResponseDto | - | 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | ListAccessModelMetadataAttribute429Response | - | 500 | Internal Server Error - Returned if there is an unexpected error. | ErrorResponseDto | - | ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### Example ```python import sailpoint.beta from sailpoint.beta.api.launchers_api import LaunchersApi from sailpoint.beta.api_client import ApiClient from sailpoint.beta.models.start_launcher200_response import StartLauncher200Response from pprint import pprint from sailpoint.configuration import Configuration configuration = Configuration() with ApiClient(configuration) as api_client: launcher_id = 'e3012408-8b61-4564-ad41-c5ec131c325b' # str | ID of the Launcher to be launched # str | ID of the Launcher to be launched try: # Launch a Launcher results =LaunchersApi(api_client).start_launcher(launcher_id) # Below is a request that includes all optional parameters # results = LaunchersApi(api_client).start_launcher(launcher_id) print("The response of LaunchersApi->start_launcher:\n") pprint(results) except Exception as e: print("Exception when calling LaunchersApi->start_launcher: %s\n" % e) ``` [[Back to top]](#)