Update to powershell SDK docs: 13463884951

This commit is contained in:
developer-relations-sp
2025-02-21 19:31:27 +00:00
parent ea18131a85
commit ec86070ca7
2 changed files with 4 additions and 10 deletions

View File

@@ -21,9 +21,6 @@ Method | HTTP request | Description
## get-tenant
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
:::
This rest endpoint can be used to retrieve tenant details.
[API Spec](https://developer.sailpoint.com/docs/api/v2024/get-tenant)
@@ -31,7 +28,6 @@ This rest endpoint can be used to retrieve tenant details.
### Parameters
Param Type | Name | Data Type | Required | Description
------------- | ------------- | ------------- | ------------- | -------------
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
### Return type
[**Tenant**](../models/tenant)
@@ -53,15 +49,14 @@ Code | Description | Data Type
### Example
```powershell
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
# Get Tenant Information.
try {
Get-V2024Tenant -XSailPointExperimental $XSailPointExperimental
Get-V2024Tenant
# Below is a request that includes all optional parameters
# Get-V2024Tenant -XSailPointExperimental $XSailPointExperimental
# Get-V2024Tenant
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024Tenant"
Write-Host $_.ErrorDetails