All URIs are relative to //api-us.cloudcheckr.com/
Method | HTTP request | Description |
---|---|---|
create_saml_provider | POST /auth/v1/customers/{customerId}/saml-providers | Creates a new SAML provider entry for this customer. |
delete_saml_provider | DELETE /auth/v1/customers/{customerId}/saml-providers/{samlProviderId} | Deletes an existing SAML provider entry for this customer. |
get_saml_provider | GET /auth/v1/customers/{customerId}/saml-providers/{samlProviderId} | Get a single SAML provider by ID. |
list_saml_providers | GET /auth/v1/customers/{customerId}/saml-providers | Get all SAML providers. |
update_saml_provider | PUT /auth/v1/customers/{customerId}/saml-providers/{samlProviderId} | Updates an existing SAML provider entry for this customer. |
SamlProviderResponseDetailModel create_saml_provider(customer_id, body=body)
Creates a new SAML provider entry for this customer.
from __future__ import print_function
import time
import cloudcheckr_cmx_client
from cloudcheckr_cmx_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: oauth
configuration = cloudcheckr_cmx_client.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = cloudcheckr_cmx_client.SAMLProvidersApi(cloudcheckr_cmx_client.ApiClient(configuration))
customer_id = 'customer_id_example' # str |
body = cloudcheckr_cmx_client.CreateRequestSamlProviderRequestModel() # CreateRequestSamlProviderRequestModel | (optional)
try:
# Creates a new SAML provider entry for this customer.
api_response = api_instance.create_saml_provider(customer_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SAMLProvidersApi->create_saml_provider: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | str | ||
body | CreateRequestSamlProviderRequestModel | [optional] |
SamlProviderResponseDetailModel
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_saml_provider(customer_id, saml_provider_id)
Deletes an existing SAML provider entry for this customer.
from __future__ import print_function
import time
import cloudcheckr_cmx_client
from cloudcheckr_cmx_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: oauth
configuration = cloudcheckr_cmx_client.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = cloudcheckr_cmx_client.SAMLProvidersApi(cloudcheckr_cmx_client.ApiClient(configuration))
customer_id = 'customer_id_example' # str |
saml_provider_id = 'saml_provider_id_example' # str |
try:
# Deletes an existing SAML provider entry for this customer.
api_instance.delete_saml_provider(customer_id, saml_provider_id)
except ApiException as e:
print("Exception when calling SAMLProvidersApi->delete_saml_provider: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | str | ||
saml_provider_id | str |
void (empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SamlProviderResponseDetailModel get_saml_provider(customer_id, saml_provider_id)
Get a single SAML provider by ID.
from __future__ import print_function
import time
import cloudcheckr_cmx_client
from cloudcheckr_cmx_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: oauth
configuration = cloudcheckr_cmx_client.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = cloudcheckr_cmx_client.SAMLProvidersApi(cloudcheckr_cmx_client.ApiClient(configuration))
customer_id = 'customer_id_example' # str |
saml_provider_id = 'saml_provider_id_example' # str |
try:
# Get a single SAML provider by ID.
api_response = api_instance.get_saml_provider(customer_id, saml_provider_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SAMLProvidersApi->get_saml_provider: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | str | ||
saml_provider_id | str |
SamlProviderResponseDetailModel
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginationWithCountResponseSamlProviderResponseModel list_saml_providers(customer_id, page_size=page_size, pagination_key=pagination_key, order_by=order_by, filter=filter)
Get all SAML providers.
from __future__ import print_function
import time
import cloudcheckr_cmx_client
from cloudcheckr_cmx_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: oauth
configuration = cloudcheckr_cmx_client.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = cloudcheckr_cmx_client.SAMLProvidersApi(cloudcheckr_cmx_client.ApiClient(configuration))
customer_id = 'customer_id_example' # str |
page_size = 56 # int | number of items to include in the response (optional)
pagination_key = 'pagination_key_example' # str | key used to fetch the next page of items (optional)
order_by = 'order_by_example' # str | orders a given property (optional)
filter = 'filter_example' # str | filters the result by the conditions (optional)
try:
# Get all SAML providers.
api_response = api_instance.list_saml_providers(customer_id, page_size=page_size, pagination_key=pagination_key, order_by=order_by, filter=filter)
pprint(api_response)
except ApiException as e:
print("Exception when calling SAMLProvidersApi->list_saml_providers: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | str | ||
page_size | int | number of items to include in the response | [optional] |
pagination_key | str | key used to fetch the next page of items | [optional] |
order_by | str | orders a given property | [optional] |
filter | str | filters the result by the conditions | [optional] |
PaginationWithCountResponseSamlProviderResponseModel
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SamlProviderResponseDetailModel update_saml_provider(customer_id, saml_provider_id, body=body)
Updates an existing SAML provider entry for this customer.
from __future__ import print_function
import time
import cloudcheckr_cmx_client
from cloudcheckr_cmx_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: oauth
configuration = cloudcheckr_cmx_client.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = cloudcheckr_cmx_client.SAMLProvidersApi(cloudcheckr_cmx_client.ApiClient(configuration))
customer_id = 'customer_id_example' # str |
saml_provider_id = 'saml_provider_id_example' # str |
body = cloudcheckr_cmx_client.UpdateRequestSamlProviderRequestModel() # UpdateRequestSamlProviderRequestModel | (optional)
try:
# Updates an existing SAML provider entry for this customer.
api_response = api_instance.update_saml_provider(customer_id, saml_provider_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling SAMLProvidersApi->update_saml_provider: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | str | ||
saml_provider_id | str | ||
body | UpdateRequestSamlProviderRequestModel | [optional] |
SamlProviderResponseDetailModel
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]