Skip to main content

Remove metadata from an entitlement.

DELETE 

https://sailpoint.api.identitynow.com/v2024/entitlements/:id/access-model-metadata/:attributeKey/values/:attributeValue

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.

Remove single Access Model Metadata from an entitlement.

Request

Path Parameters

    id stringrequired

    The entitlement id.

    Example: 2c91808c74ff913f0175097daa9d59cd
    attributeKey stringrequired

    Technical name of the Attribute.

    Example: iscPrivacy
    attributeValue stringrequired

    Technical name of the Attribute Value.

    Example: public

Header Parameters

    X-SailPoint-Experimental stringrequired

    Use this header to enable this experimental API.

    Default value: true
    Example: true

Responses

OK

Authorization: oauth2

type: Personal Access Token
scopes: idn:entitlement:delete
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/entitlements/:id/access-model-metadata/:attributeKey/values/:attributeValue"
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/v2024
Auth
Parameters
— pathrequired
— pathrequired
— pathrequired
— headerrequired
ResponseClear

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