Skip to main content

Update Multi-Host Integration

PATCH 

https://sailpoint.api.identitynow.com/v2024/multihosts/:multihostId

Update existing sources within Multi-Host Integration.

A token with Org Admin or Multi-Host Admin authority is required to access this endpoint.

Request

Path Parameters

    multihostId stringrequired

    ID of the Multi-Host Integration to update.

Body arrayrequired

This endpoint allows you to update a Multi-Host Integration.

  • Array [
  • opstringrequired

    The operation to be performed

    Possible values: [add, replace]

    Example: replace
    pathstringrequired

    A string JSON Pointer representing the target path to an element to be affected by the operation

    Example: /description
    value object

    The value to be used for the operation, required for "add" and "replace" operations

    oneOf
    string
    Example: New description
  • ]

Responses

OK. Returned if the request was successfully accepted into the system.

Authorization: oauth2

type: Personal Access Token
scopes: idn:multihosts:update
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/multihosts/:multihostId"
method := "PATCH"

payload := strings.NewReader(`[
{
"op": "replace",
"path": "/description",
"value": "New description"
}
]`)

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

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json-patch+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
— pathrequired
Body required
[
  {
    "op": "replace",
    "path": "/description",
    "value": "New description"
  }
]
ResponseClear

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