All URIs are relative to //api-us.cloudcheckr.com/
Method | HTTP request | Description |
---|---|---|
get_all | GET /policy/v1/customers/{customerId}/permissions | Get all permissions. |
PaginationWithCountResponsePermissionResponseModel get_all(customer_id, order_by=order_by, filter=filter, search=search)
Get all permissions.
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.PermissionsApi(cloudcheckr_cmx_client.ApiClient(configuration))
customer_id = 'customer_id_example' # str |
order_by = 'order_by_example' # str | orders a given property (optional)
filter = 'filter_example' # str | filters the result by the conditions (optional)
search = 'search_example' # str | finds all resources that match the specified value (optional)
try:
# Get all permissions.
api_response = api_instance.get_all(customer_id, order_by=order_by, filter=filter, search=search)
pprint(api_response)
except ApiException as e:
print("Exception when calling PermissionsApi->get_all: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
customer_id | str | ||
order_by | str | orders a given property | [optional] |
filter | str | filters the result by the conditions | [optional] |
search | str | finds all resources that match the specified value | [optional] |
PaginationWithCountResponsePermissionResponseModel
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]