Skip to main content

Delete all custom schema attributes for Non-Employee Source

DELETE 

https://sailpoint.api.identitynow.com/v2025/non-employee-sources/:sourceId/schema-attributes

This end-point deletes all custom schema attributes for a non-employee source. Requires role context of idn:nesr:delete

Request

Path Parameters

    sourceId stringrequired

    The Source id

    Example: ef38f94347e94562b5bb8424a56397d8

Responses

No content - indicates the request was successful but there is no content to be returned in the response.

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/v2025/non-employee-sources/:sourceId/schema-attributes"
method := "DELETE"

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

if err != nil {
fmt.Println(err)
return
}
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
— pathrequired
ResponseClear

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