Skip to main content

Get list of Auth Profiles

GET 

https://sailpoint.api.identitynow.com/v2024/auth-profiles

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 API returns a list of auth profiles.

Request

Header Parameters

    X-SailPoint-Experimental stringrequired

    Use this header to enable this experimental API.

    Default value: true
    Example: true

Responses

List of Auth Profiles

Schema
  • Array [
  • tenantstring

    Tenant name.

    Example: test-tenant
    idstring

    Identity ID.

    Example: 2c91808458ae7a4f0158b1bbf8af0628
  • ]

Authorization: oauth2

type: Personal Access Token
scopes: sp:auth-profile:read
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/auth-profiles"
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
ResponseClear

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