Skip to main content

Retrieves all potential role summaries

GET 

https://sailpoint.api.identitynow.com/v2024/role-mining-sessions/:sessionId/potential-role-summaries

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 returns the potential role summaries for a role mining session.

Request

Responses

Succeeded. Returns a list of potential role summaries for a role mining session.

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/role-mining-sessions/:sessionId/potential-role-summaries"
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
— headerrequired
— query
— query
— query
— query
— query
ResponseClear

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