mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
Update to powershell SDK docs: 13463884951
This commit is contained in:
@@ -21,9 +21,6 @@ Method | HTTP request | Description
|
|||||||
|
|
||||||
|
|
||||||
## get-tenant
|
## 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.
|
This rest endpoint can be used to retrieve tenant details.
|
||||||
|
|
||||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/get-tenant)
|
[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
|
### Parameters
|
||||||
Param Type | Name | Data Type | Required | Description
|
Param Type | Name | Data Type | Required | Description
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | ------------- | -------------
|
||||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
[**Tenant**](../models/tenant)
|
[**Tenant**](../models/tenant)
|
||||||
@@ -53,15 +49,14 @@ Code | Description | Data Type
|
|||||||
|
|
||||||
### Example
|
### Example
|
||||||
```powershell
|
```powershell
|
||||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
|
||||||
|
|
||||||
# Get Tenant Information.
|
# Get Tenant Information.
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Get-V2024Tenant -XSailPointExperimental $XSailPointExperimental
|
Get-V2024Tenant
|
||||||
|
|
||||||
# Below is a request that includes all optional parameters
|
# Below is a request that includes all optional parameters
|
||||||
# Get-V2024Tenant -XSailPointExperimental $XSailPointExperimental
|
# Get-V2024Tenant
|
||||||
} catch {
|
} catch {
|
||||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024Tenant"
|
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024Tenant"
|
||||||
Write-Host $_.ErrorDetails
|
Write-Host $_.ErrorDetails
|
||||||
|
|||||||
@@ -15804,15 +15804,14 @@
|
|||||||
- lang: PowerShell
|
- lang: PowerShell
|
||||||
label: SDK_tools/sdk/powershell/v2024/methods/tenant#get-tenant
|
label: SDK_tools/sdk/powershell/v2024/methods/tenant#get-tenant
|
||||||
source: |
|
source: |
|
||||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
|
||||||
|
|
||||||
# Get Tenant Information.
|
# Get Tenant Information.
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Get-V2024Tenant -XSailPointExperimental $XSailPointExperimental
|
Get-V2024Tenant
|
||||||
|
|
||||||
# Below is a request that includes all optional parameters
|
# Below is a request that includes all optional parameters
|
||||||
# Get-V2024Tenant -XSailPointExperimental $XSailPointExperimental
|
# Get-V2024Tenant
|
||||||
} catch {
|
} catch {
|
||||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024Tenant"
|
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2024Tenant"
|
||||||
Write-Host $_.ErrorDetails
|
Write-Host $_.ErrorDetails
|
||||||
|
|||||||
Reference in New Issue
Block a user