Skip to main content

Delete Identity Profiles

POST 

https://sailpoint.api.identitynow.com/v2024/identity-profiles/bulk-delete

This deletes multiple Identity Profiles via a list of supplied IDs.

On success, this endpoint will return a reference to the bulk delete task result.

The following rights are required to access this endpoint: idn:identity-profile:delete

Request

Responses

Accepted - Returns a TaskResult object referencing the bulk delete job created.

Authorization: oauth2

type: Personal Access Token
scopes: idn:identity-profile:delete
user levels: ORG_ADMIN
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/identity-profiles/bulk-delete"
method := "POST"

payload := strings.NewReader(`[
"2c9180867b2a34e0017b3078d60b0699",
"2c9180867b2a34e0017b3078d60b0698"
]`)

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/v2024
Auth
Body required
[
  "2c9180867b2a34e0017b3078d60b0699",
  "2c9180867b2a34e0017b3078d60b0698"
]
ResponseClear

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