Skip to main content

JITAccess

Use these APIs to configure JIT provisioning activation policy for the tenant. OAuth scopes: idn:jit-policy:read and idn:jit-policy:manage (get config), idn:jit-policy:update and idn:jit-policy:manage (update config). JIT activation workflow APIs use idn:jit-activation-workflow:* scopes (activate, extend, deactivate, manage, and idn:jit-activation-workflow-internal:manage). For REST contract details, use the JIT Access operations in this specification and the SailPoint API documentation.

All URIs are relative to https://sailpoint.api.identitynow.com

MethodHTTP requestDescription
Get-JitActivationConfigV1GET /jit-activation-config/v1/{configType}Get JIT activation policy configuration
Update-JitActivationConfigV1PATCH /jit-activation-config/v1/{configType}Update JIT activation policy configuration

get-jit-activation-config-v1

Returns the tenant's current JIT activation policy configuration, including governed entitlement IDs, activation and extension time limits, default periods, notification settings, and whether the policy applies to future assignments.

The tenant comes from the authenticated request context (not the URL). Use configType to select which configuration to read. Returns 404 if that configuration has not been stored yet.

User level: POLICY_ADMIN (policy administrator).

API Spec

Parameters

Param TypeNameData TypeRequiredDescription
PathConfigTypeStringTrueConfiguration kind to read. Only policy (JIT activation policy) is supported today.

Return type

Jitactivationconfigresponse

Responses

CodeDescriptionData Type
200Current JIT activation policy configuration, including limits, entitlements in scope, and notification-related fields.Jitactivationconfigresponse
400Client Error - Returned if the request body is invalid.Errorresponsedto
401Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.GetJitActivationConfigV1401Response
403Forbidden - Returned if the user you are running as, doesn't have access to this end-point.Errorresponsedto
404Not Found - returned if the request URL refers to a resource or object that does not existErrorresponsedto
429Too 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.GetJitActivationConfigV1429Response
500Internal Server Error - Returned if there is an unexpected error.Errorresponsedto

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

$ConfigType = "policy" # String | Configuration kind to read. Only **policy** (JIT activation policy) is supported today. 

# Get JIT activation policy configuration

try {
Get-JitActivationConfigV1 -ConfigType $ConfigType

# Below is a request that includes all optional parameters
# Get-JitActivationConfigV1 -ConfigType $ConfigType
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-JitActivationConfigV1"
Write-Host $_.ErrorDetails
}

[Back to top]

patch-jit-activation-config-v1

Updates the tenant's JIT activation policy configuration by applying one or more replace operations (same shape as JSON Patch: op, path, value). Use this to change entitlement lists, max/default activation and extension durations, notification recipients or template, and the apply-to-future-assignments flag.

The body must be a non-empty array. Only replace is supported; each path must be one of the values documented on the request item schema. The tenant is taken from the request context. configType selects which configuration to update. Returns 404 if the configuration does not exist, or 400 for an empty body, unknown configType, or invalid path/value.

User level: POLICY_ADMIN (policy administrator).

API Spec

Parameters

Param TypeNameData TypeRequiredDescription
PathConfigTypeStringTrueConfiguration kind to update. Only policy (JIT activation policy) is supported today.
BodyJitaccessoperationrequest[]JitaccessoperationrequestTrue

Return type

Jitactivationconfigresponse

Responses

CodeDescriptionData Type
200Full JIT activation policy configuration after applying all requested replace operations.Jitactivationconfigresponse
400Client Error - Returned if the request body is invalid.Errorresponsedto
401Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.GetJitActivationConfigV1401Response
403Forbidden - Returned if the user you are running as, doesn't have access to this end-point.Errorresponsedto
404Not Found - returned if the request URL refers to a resource or object that does not existErrorresponsedto
429Too 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.GetJitActivationConfigV1429Response
500Internal Server Error - Returned if there is an unexpected error.Errorresponsedto

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

$ConfigType = "policy" # String | Configuration kind to update. Only **policy** (JIT activation policy) is supported today. 
$Jitaccessoperationrequest = @""@ # Jitaccessoperationrequest[] |


# Update JIT activation policy configuration

try {
$Result = ConvertFrom-JsonToJitaccessoperationrequest -Json $Jitaccessoperationrequest
Update-JitActivationConfigV1 -ConfigType $ConfigType -Jitaccessoperationrequest $Result

# Below is a request that includes all optional parameters
# Update-JitActivationConfigV1 -ConfigType $ConfigType -Jitaccessoperationrequest $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-JitActivationConfigV1"
Write-Host $_.ErrorDetails
}

[Back to top]