Skip to main content

Gets the list of identity access items at a given date filterd by item type

GET 

https://sailpoint.api.identitynow.com/v2024/historical-identities/:id/snapshots/:date/access-items

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 method retrieves the list of identity access items at a given date filterd by item type Requires authorization scope of 'idn:identity-history:read'

Request

Path Parameters

    id stringrequired

    The identity id

    Example: 8c190e6787aa4ed9a90bd9d5344523fb
    date stringrequired

    The specified date

    Example: 2007-03-01T13:00:00Z

Query Parameters

    type string

    The access item type

    Example: account

Header Parameters

    X-SailPoint-Experimental stringrequired

    Use this header to enable this experimental API.

    Default value: true
    Example: true

Responses

The identity object.

Schema
  • Array [
  • oneOf
    accessTypestring

    the access item type. accessProfile in this case

    Example: accessProfile
    idstring

    the access item id

    Example: 2c918087763e69d901763e72e97f006f
    namestring

    the access profile name

    Example: sample
    sourceNamestring

    the name of the source

    Example: DataScienceDataset
    sourceIdstring

    the id of the source

    Example: 2793o32dwd
    descriptionstring

    the description for the access profile

    Example: AccessProfile - Workday/Citizenship access
    displayNamestring

    the display name of the identity

    Example: Dr. Arden Rogahn MD
    entitlementCountstring

    the number of entitlements the access profile will create

    Example: 12
    appDisplayNamestring

    the name of

    Example: AppName
    removeDatestring

    the date the access profile is no longer assigned to the specified identity

    Example: 2024-07-01T06:00:00.000Z
    standalonebooleanrequired

    indicates whether the access profile is standalone

    Example: false
    revocablebooleanrequired

    indicates whether the access profile is

    Example: true
  • ]

Authorization: oauth2

type: Personal Access Token
scopes: sp:scopes:all
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/historical-identities/:id/snapshots/:date/access-items"
method := "GET"

client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")

res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()

body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v2024
Auth
Parameters
— pathrequired
— pathrequired
— headerrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!