mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-07 12:27:47 +00:00
Update PowerShell SDK docs: 16836059621
This commit is contained in:
@@ -661,6 +661,9 @@ try {
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-administrators-access-request-status
|
||||
:::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.
|
||||
:::
|
||||
Use this API to get access request statuses of all the access requests in the org based on the specified query parameters.
|
||||
Any user with user level ORG_ADMIN or scope idn:access-request-administration:read can access this endpoint to get the access request statuses
|
||||
|
||||
@@ -669,6 +672,7 @@ Any user with user level ORG_ADMIN or scope idn:access-request-administration:re
|
||||
### Parameters
|
||||
Param Type | Name | Data Type | Required | Description
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
| XSailPointExperimental | **String** | True (default to "true") | Use this header to enable this experimental API.
|
||||
Query | RequestedFor | **String** | (optional) | Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*.
|
||||
Query | RequestedBy | **String** | (optional) | Filter the results by the identity who made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*.
|
||||
Query | RegardingIdentity | **String** | (optional) | Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*.
|
||||
@@ -699,6 +703,7 @@ Code | Description | Data Type
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
|
||||
$RequestedFor = "2c9180877b2b6ea4017b2c545f971429" # String | Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional)
|
||||
$RequestedBy = "2c9180877b2b6ea4017b2c545f971429" # String | Filter the results by the identity who made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional)
|
||||
$RegardingIdentity = "2c9180877b2b6ea4017b2c545f971429" # String | Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. (optional)
|
||||
@@ -713,10 +718,10 @@ $RequestState = "request-state=EXECUTING" # String | Filter the results by the s
|
||||
# Access request status for administrators
|
||||
|
||||
try {
|
||||
Get-V2025AdministratorsAccessRequestStatus
|
||||
Get-V2025AdministratorsAccessRequestStatus -XSailPointExperimental $XSailPointExperimental
|
||||
|
||||
# Below is a request that includes all optional parameters
|
||||
# Get-V2025AdministratorsAccessRequestStatus -RequestedFor $RequestedFor -RequestedBy $RequestedBy -RegardingIdentity $RegardingIdentity -AssignedTo $AssignedTo -Count $Count -Limit $Limit -Offset $Offset -Filters $Filters -Sorters $Sorters -RequestState $RequestState
|
||||
# Get-V2025AdministratorsAccessRequestStatus -XSailPointExperimental $XSailPointExperimental -RequestedFor $RequestedFor -RequestedBy $RequestedBy -RegardingIdentity $RegardingIdentity -AssignedTo $AssignedTo -Count $Count -Limit $Limit -Offset $Offset -Filters $Filters -Sorters $Sorters -RequestState $RequestState
|
||||
} catch {
|
||||
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-V2025AdministratorsAccessRequestStatus"
|
||||
Write-Host $_.ErrorDetails
|
||||
|
||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$AccountUsage = Initialize-V2025AccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
||||
$AccountUsage = Initialize-V2025AccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||
-Count 10
|
||||
```
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-V2025NonEmployeeRequestWitho
|
||||
-ApprovalStatus null `
|
||||
-Comment approved `
|
||||
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
|
||||
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
|
||||
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
|
||||
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
|
||||
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
|
||||
-Modified 2020-03-24T11:11:41.139-05:00 `
|
||||
-Created 2020-03-24T11:11:41.139-05:00
|
||||
```
|
||||
|
||||
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
$SourceUsage = Initialize-V2025SourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
|
||||
$SourceUsage = Initialize-V2025SourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
|
||||
-Count 10.45
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user