Skip to main content

Enable IDN Accounts for Identities

POST 

https://sailpoint.api.identitynow.com/v2025/identities-accounts/enable

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 submits tasks to enable IDN account for each identity provided in the request body.

Request

Header Parameters

    X-SailPoint-Experimental stringrequired

    Use this header to enable this experimental API.

    Default value: true
    Example: true

Bodyrequired

    identityIdsstring[]

    The ids of the identities for which enable/disable accounts.

    Example: ["2c91808384203c2d018437e631158308","2c9180858082150f0180893dbaf553fe"]

Responses

Bulk response details.

Schema
  • Array [
  • idstring

    Identifier of bulk request item.

    Example: 2c9180858082150f0180893dbaf553fe
    statusCodeint32

    Response status value.

    Example: 404
    messagestring

    Status containing additional context information about failures.

    Example: Referenced identity "2c9180858082150f0180893dbaf553fe" was not found.
  • ]

Authorization: oauth2

type: Personal Access Token
scopes: idn:accounts-state:manage
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2025/identities-accounts/enable"
method := "POST"

payload := strings.NewReader(`{
"identityIds": [
"2c91808384203c2d018437e631158308",
"2c9180858082150f0180893dbaf553fe"
]
}`)

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
{
  "identityIds": [
    "2c91808384203c2d018437e631158308",
    "2c9180858082150f0180893dbaf553fe"
  ]
}
ResponseClear

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