Skip to main content

Get a paginated list of common access

GET 

https://sailpoint.api.identitynow.com/v2024/common-access

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 endpoint returns the current common access for a customer. The returned items can be filtered and sorted. Requires authorization scope of iai:access-modeling:read

Request

Query Parameters

    offset int32

    Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.

    Default value: 0
    Example: 0
    limit int32

    Possible values: <= 250

    Max number of results to return. See V3 API Standard Collection Parameters for more information.

    Default value: 250
    Example: 250
    count boolean

    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.

    Default value: false
    Example: true
    filters string

    Filter results using the standard syntax described in V3 API Standard Collection Parameters

    Filtering is supported for the following fields and operators:

    status: eq, sw

    reviewedByUser eq

    access.id: eq, sw

    access.type: eq

    access.name: sw, eq

    access.description: sw, eq

    Example: access.type eq "ROLE"
    sorters comma-separated

    Sort results using the standard syntax described in V3 API Standard Collection Parameters

    Sorting is supported for the following fields: access.name, status

    By default the common access items are sorted by name, ascending.

    Example: access.name

Header Parameters

    X-SailPoint-Experimental stringrequired

    Use this header to enable this experimental API.

    Default value: true
    Example: true

Responses

Succeeded. Returns a list of common access for a customer.

Schema
  • Array [
  • idstring

    Unique ID of the common access item

    Example: 555ab47a-0d32-4813-906f-adf3567de6a4
    access object
    idstring

    Common access ID

    typestring

    The type of access item.

    Possible values: [ACCESS_PROFILE, ROLE]

    namestring

    Common access name

    descriptionstringnullable

    Common access description

    ownerNamestring

    Common access owner name

    ownerIdstring

    Common access owner ID

    statusstring

    CONFIRMED or DENIED

    commonAccessTypestring
    Example: UNSET
    lastUpdateddate-time
    reviewedByUserboolean

    true if user has confirmed or denied status

    lastRevieweddate-timenullable
    createdByUserboolean
    Default value: false
    Example: false
  • ]

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/common-access"
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
— headerrequired
— query
— query
— query
— query
— query
ResponseClear

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