Skip to main content

Bulk update common access status

POST 

https://sailpoint.api.identitynow.com/v2025/common-access/update-status

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 submits an update request to the common access application. At this time there are no parameters. Requires authorization scope of iai:access-modeling:update

Request

Header Parameters

    X-SailPoint-Experimental stringrequired

    Use this header to enable this experimental API.

    Default value: true
    Example: true

Body arrayrequired

Confirm or deny in bulk the common access ids that are (or aren't) common access

  • Array [
  • confirmedIdsuuid[]

    List of confirmed common access ids.

    deniedIdsuuid[]

    List of denied common access ids.

  • ]

Responses

Accepted - Returned if the request was successfully accepted into the system.

Schema
    objectobject

Authorization: oauth2

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

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2025/common-access/update-status"
method := "POST"

payload := strings.NewReader(`[
{
"confirmedIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"deniedIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
]`)

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

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
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/v2025
Auth
Parameters
— headerrequired
Body required
[
  {
    "confirmedIds": [
      "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "deniedIds": [
      "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ]
  }
]
ResponseClear

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