Update to python SDK docs: 13820107626

This commit is contained in:
developer-relations-sp
2025-03-12 19:41:45 +00:00
parent 184517209d
commit 113200f5fe
221 changed files with 8723 additions and 7883 deletions

View File

@@ -55,13 +55,13 @@ Code | Description | Data Type | Response headers |
### Example
```python
import sailpoint.beta
from sailpoint.beta.api.icons_api import IconsApi
from sailpoint.beta.api_client import ApiClient
from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
with ApiClient(configuration) as api_client:
object_type = 'application' # str | Object type # str | Object type
object_id = 'a291e870-48c3-4953-b656-fb5ce2a93169' # str | Object id. # str | Object id.
@@ -69,10 +69,10 @@ with ApiClient(configuration) as api_client:
try:
# Delete an icon
IconsApi(api_client).delete_icon(object_type, object_id)
IconsApi(api_client).delete_icon(object_type=object_type, object_id=object_id)
# Below is a request that includes all optional parameters
# IconsApi(api_client).delete_icon(object_type, object_id)
except Exception as e:
except Exception as e:
print("Exception when calling IconsApi->delete_icon: %s\n" % e)
```
@@ -115,7 +115,6 @@ Code | Description | Data Type | Response headers |
### Example
```python
import sailpoint.beta
from sailpoint.beta.api.icons_api import IconsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.set_icon200_response import SetIcon200Response
@@ -123,6 +122,7 @@ from pprint import pprint
from sailpoint.configuration import Configuration
configuration = Configuration()
with ApiClient(configuration) as api_client:
object_type = 'application' # str | Object type # str | Object type
object_id = 'a291e870-48c3-4953-b656-fb5ce2a93169' # str | Object id. # str | Object id.
@@ -131,12 +131,12 @@ with ApiClient(configuration) as api_client:
try:
# Update an icon
results =IconsApi(api_client).set_icon(object_type, object_id, image)
results = IconsApi(api_client).set_icon(object_type=object_type, object_id=object_id, image=image)
# Below is a request that includes all optional parameters
# results = IconsApi(api_client).set_icon(object_type, object_id, image)
print("The response of IconsApi->set_icon:\n")
pprint(results)
except Exception as e:
except Exception as e:
print("Exception when calling IconsApi->set_icon: %s\n" % e)
```