SuggestedEntitlementDescription
Use this API to implement Suggested Entitlement Description (SED) functionality.
SED functionality leverages the power of LLM to generate suggested entitlement descriptions.
Refer to GenAI Entitlement Descriptions to learn more about SED in Identity Security Cloud (ISC).
All URIs are relative to https://sailpoint.api.identitynow.com
approve-bulk-entitlement-recommendations-v1
Approve multiple entitlement recommendations in a single request. Each item in the request must include the recommendation ID and, depending on the record type, either an approved description (SED items) or an approved privilege level (privilege items). Returns a per-item result indicating success or failure.
API Spec
Parameters
Return type
Bulkapproveentitlementrecommendationresult[]
Responses
| Code | Description | Data Type |
|---|
| 200 | Per-item approval results. | Bulkapproveentitlementrecommendationresult[] |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json
- Accept: application/json
Example
$Bulkapproveentitlementrecommendationrequest = @""@
try {
$Result = ConvertFrom-JsonToBulkapproveentitlementrecommendationrequest -Json $Bulkapproveentitlementrecommendationrequest
Approve-BulkEntitlementRecommendationsV1 -Bulkapproveentitlementrecommendationrequest $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Approve-BulkEntitlementRecommendationsV1"
Write-Host $_.ErrorDetails
}
[Back to top]
create-auto-write-settings-v1
Create the initial auto-write settings for a tenant. Returns 409 Conflict if settings already exist. Use PATCH to update existing settings.
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Body | Autowritesetting | Autowritesetting | True | Auto-write settings to create |
Return type
Autowritesettingresponse
Responses
| Code | Description | Data Type |
|---|
| 201 | Auto-write settings created successfully | Autowritesettingresponse |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 409 | Conflict - Indicates that the request could not be processed because of conflict in the current state of the resource. | CreateAutoWriteSettingsV1409Response |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json
- Accept: application/json
Example
$Autowritesetting = @""@
try {
$Result = ConvertFrom-JsonToAutowritesetting -Json $Autowritesetting
New-AutoWriteSettingsV1 -Autowritesetting $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling New-AutoWriteSettingsV1"
Write-Host $_.ErrorDetails
}
[Back to top]
get-auto-write-settings-v1
Get the current auto-write configuration for the tenant, including the enabled state and source include/exclude lists.
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
Return type
Autowritesettingresponse
Responses
| Code | Description | Data Type |
|---|
| 200 | Current auto-write settings | Autowritesettingresponse |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: Not defined
- Accept: application/json
Example
try {
Get-AutoWriteSettingsV1
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-AutoWriteSettingsV1"
Write-Host $_.ErrorDetails
}
[Back to top]
get-sed-batch-stats-v1
'Submit Sed Batch Stats Request.
Submits batchId in the path param (e.g. {batchId}/stats). API responses with stats
of the batchId.'
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Path | BatchId | String | True | Batch Id |
Return type
Sedbatchstats
Responses
| Code | Description | Data Type |
|---|
| 200 | Stats of Sed batch. | Sedbatchstats |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: Not defined
- Accept: application/json
Example
$BatchId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb"
try {
Get-SedBatchStatsV1 -BatchId $BatchId
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-SedBatchStatsV1"
Write-Host $_.ErrorDetails
}
[Back to top]
get-sed-batches-v1
List Sed Batches.
API responses with Sed Batch Records
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Query | Offset | Int64 | (optional) (default to 0) | Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in V3 API Standard Collection Parameters. The offset value is record-based, not page-based, and the index starts at 0. |
| Query | Limit | Int64 | (optional) (default to 250) | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in V3 API Standard Collection Parameters. If it is not specified, a default limit is used. |
| Query | Count | Boolean | (optional) (default to $false) | If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. The standard syntax described in V3 API Standard Collection Parameters. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. |
| Query | CountOnly | Boolean | (optional) (default to $false) | If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. This parameter differs from the count parameter in that this one skips executing the actual query and always return an empty array. |
| Query | Status | String | (optional) | Batch Status |
Return type
Sedbatchrecord[]
Responses
| Code | Description | Data Type |
|---|
| 200 | List of Sed Batch Records | Sedbatchrecord[] |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: Not defined
- Accept: application/json
Example
$Offset = 0
$Limit = 250
$Count = $true
$CountOnly = $true
$Status = "completed, failed, submitted, materialized, failed"
try {
Get-SedBatchesV1
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-SedBatchesV1"
Write-Host $_.ErrorDetails
}
[Back to top]
list-pending-entitlement-recommendation-approvals-v1
Returns a list of entitlement recommendations (SED and/or privilege) that are currently awaiting review or approval. Each record includes the recommendation type, entitlement details, and any AI-generated suggestions.
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Query | Offset | Int32 | (optional) (default to 0) | Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information. |
| Query | Limit | Int32 | (optional) (default to 250) | Max number of results to return. See V3 API Standard Collection Parameters for more information. |
Return type
Entitlementrecommendationrecord[]
Responses
| Code | Description | Data Type |
|---|
| 200 | A list of pending entitlement recommendation records. | Entitlementrecommendationrecord[] |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: Not defined
- Accept: application/json
Example
$Offset = 0
$Limit = 250
try {
Get-PendingEntitlementRecommendationApprovalsV1
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-PendingEntitlementRecommendationApprovalsV1"
Write-Host $_.ErrorDetails
}
[Back to top]
list-privileged-entitlement-recommendations-v1
Returns a list of privileged entitlement recommendation groups. Each group aggregates individual entitlement instances that share the same entitlement name and connector type, along with a recommendation score and instance count.
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Query | Offset | Int32 | (optional) (default to 0) | Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information. |
| Query | Limit | Int32 | (optional) (default to 250) | Max number of results to return. See V3 API Standard Collection Parameters for more information. |
Return type
Privilegedrecommendationgroup[]
Responses
| Code | Description | Data Type |
|---|
| 200 | A list of privileged recommendation groups. | Privilegedrecommendationgroup[] |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: Not defined
- Accept: application/json
Example
$Offset = 0
$Limit = 250
try {
Get-PrivilegedEntitlementRecommendationsV1
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-PrivilegedEntitlementRecommendationsV1"
Write-Host $_.ErrorDetails
}
[Back to top]
list-seds-v1
List of Suggested Entitlement Descriptions (SED)
SED field descriptions:
batchId: the ID of the batch of entitlements that are submitted for description generation
displayName: the display name of the entitlement that we are generating a description for
sourceName: the name of the source associated with the entitlement that we are generating the description for
sourceId: the ID of the source associated with the entitlement that we are generating the description for
status: the status of the suggested entitlement description, valid status options: "requested", "suggested", "not_suggested", "failed", "assigned", "approved", "denied"
fullText: will filter suggested entitlement description records by text found in any of the following fields: entitlement name, entitlement display name, suggested description, source name
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Query | Limit | Int32 | (optional) (default to 250) | Max number of results to return. See V3 API Standard Collection Parameters for more information. |
| Query | Offset | Int32 | (optional) (default to 0) | Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information. |
| Query | Count | Boolean | (optional) (default to $false) | If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information. |
| Query | Filters | String | (optional) | Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: batchId: eq, ne displayName: eq, ne, co sourceName: eq, ne, co sourceId: eq, ne status: eq, ne fullText: co |
| Query | Sorters | String | (optional) | Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: displayName, sourceName, status |
| Query | CountOnly | Boolean | (optional) (default to $false) | If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. This parameter differs from the count parameter in that this one skips executing the actual query and always return an empty array. |
| Query | RequestedByAnyone | Boolean | (optional) (default to $false) | By default, the ListSeds API will only return items that you have requested to be generated. This option will allow you to see all items that have been requested |
| Query | ShowPendingStatusOnly | Boolean | (optional) (default to $false) | Will limit records to items that are in ""suggested"" or ""approved"" status |
Return type
Sed[]
Responses
| Code | Description | Data Type |
|---|
| 200 | List of Suggested Entitlement Details | Sed[] |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: Not defined
- Accept: application/json
Example
$Limit = 250
$Offset = 0
$Count = $true
$Filters = 'displayName co "Read and Write"'
$Sorters = "sorters=displayName"
$CountOnly = $false
$RequestedByAnyone = $false
$ShowPendingStatusOnly = $false
try {
Get-SedsV1
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-SedsV1"
Write-Host $_.ErrorDetails
}
[Back to top]
patch-entitlement-recommendation-v1
Partially update a single entitlement recommendation record by its ID. Use this endpoint to update the status, description, or privilege level of a specific SED or privilege recommendation.
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Path | Id | String | True | The unique identifier of the entitlement recommendation to update. |
| Body | Jsonpatchoperation | []Jsonpatchoperation | True | The patch operations to apply to the entitlement recommendation record. |
Return type
Entitlementrecommendationrecord
Responses
| Code | Description | Data Type |
|---|
| 200 | The updated entitlement recommendation record. | Entitlementrecommendationrecord |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json-patch+json
- Accept: application/json
Example
$Id = "79db50d4-723c-4aa0-a824-83c2205d82d1"
$Jsonpatchoperation = @""@
try {
$Result = ConvertFrom-JsonToJsonpatchoperation -Json $Jsonpatchoperation
Update-EntitlementRecommendationV1 -Id $Id -Jsonpatchoperation $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-EntitlementRecommendationV1"
Write-Host $_.ErrorDetails
}
[Back to top]
patch-sed-v1
Patch Suggested Entitlement Description
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Path | Id | String | True | id is sed id |
| Body | Sedpatch | []Sedpatch | True | Sed Patch Request |
Return type
Sed
Responses
| Code | Description | Data Type |
|---|
| 200 | detail of patched sed | Sed |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json-patch+json
- Accept: application/json
Example
$Id = "ebab396f-0af1-4050-89b7-dafc63ec70e7"
$Sedpatch = @""@
try {
$Result = ConvertFrom-JsonToSedpatch -Json $Sedpatch
Update-SedV1 -Id $Id -Sedpatch $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-SedV1"
Write-Host $_.ErrorDetails
}
[Back to top]
submit-entitlement-recommendations-assignment-v1
Assign a set of entitlement recommendation records to a reviewer. The assignee can be a specific identity, a governance group, or a role-based assignee such as source owner or entitlement owner. Returns a batch ID that can be used to track the assignment.
API Spec
Parameters
Return type
Entitlementrecommendationassignresult
Responses
| Code | Description | Data Type |
|---|
| 202 | Assignment queued successfully. Returns the batch ID for tracking. | Entitlementrecommendationassignresult |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json
- Accept: application/json
Example
$Entitlementrecommendationassignrequest = @""@
try {
$Result = ConvertFrom-JsonToEntitlementrecommendationassignrequest -Json $Entitlementrecommendationassignrequest
Submit-EntitlementRecommendationsAssignmentV1 -Entitlementrecommendationassignrequest $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Submit-EntitlementRecommendationsAssignmentV1"
Write-Host $_.ErrorDetails
}
[Back to top]
submit-sed-approval-v1
Submit Bulk Approval Request for SED.
Request body takes list of SED Ids. API responses with list of SED Approval Status
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Body | Sedapproval | []Sedapproval | True | Sed Approval |
Return type
Sedapprovalstatus[]
Responses
| Code | Description | Data Type |
|---|
| 200 | List of SED Approval Status | Sedapprovalstatus[] |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json-patch+json
- Accept: application/json
Example
$Sedapproval = @""@
try {
$Result = ConvertFrom-JsonToSedapproval -Json $Sedapproval
Submit-SedApprovalV1 -Sedapproval $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Submit-SedApprovalV1"
Write-Host $_.ErrorDetails
}
[Back to top]
submit-sed-assignment-v1
Submit Assignment Request.
Request body has an assignee, and list of SED Ids that are assigned to that assignee API responses with batchId that groups all approval requests together
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Body | Sedassignment | Sedassignment | True | Sed Assignment Request |
Return type
Sedassignmentresponse
Responses
| Code | Description | Data Type |
|---|
| 202 | Sed Assignment Response | Sedassignmentresponse |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json-patch+json
- Accept: application/json
Example
$Sedassignment = @""@
try {
$Result = ConvertFrom-JsonToSedassignment -Json $Sedassignment
Submit-SedAssignmentV1 -Sedassignment $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Submit-SedAssignmentV1"
Write-Host $_.ErrorDetails
}
[Back to top]
submit-sed-batch-request-v1
Submit Sed Batch Request.
Request body has one of the following: - a list of entitlement Ids - a list of SED Ids that user wants to have description generated by LLM. API responses with batchId that groups Ids together
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Body | Sedbatchrequest | Sedbatchrequest | (optional) | Sed Batch Request |
Return type
Sedbatchresponse
Responses
| Code | Description | Data Type |
|---|
| 200 | Sed Batch Response | Sedbatchresponse |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json-patch+json
- Accept: application/json
Example
$Sedbatchrequest = @""@
try {
Submit-SedBatchRequestV1
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Submit-SedBatchRequestV1"
Write-Host $_.ErrorDetails
}
[Back to top]
update-auto-write-settings-v1
Partially update the auto-write settings for a tenant using JSON Patch operations. Only the "replace" operation is supported. Returns 404 if no settings exist yet - use POST to create them first.
API Spec
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|
| Body | Autowritesettingpatch | []Autowritesettingpatch | True | Patch operations for auto-write settings |
Return type
Autowritesettingresponse
Responses
| Code | Description | Data Type |
|---|
| 200 | Updated auto-write settings | Autowritesettingresponse |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetAutoWriteSettingsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 404 | Not Found - returned if the request URL refers to a resource or object that does not exist | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetAutoWriteSettingsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
- Content-Type: application/json-patch+json
- Accept: application/json
Example
$Autowritesettingpatch = @""@
try {
$Result = ConvertFrom-JsonToAutowritesettingpatch -Json $Autowritesettingpatch
Update-AutoWriteSettingsV1 -Autowritesettingpatch $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-AutoWriteSettingsV1"
Write-Host $_.ErrorDetails
}
[Back to top]