Skip to main content

Delete a Dimension

DELETE 

https://sailpoint.api.identitynow.com/v2024/roles/:roleId/dimensions/:dimensionId

This API deletes a Dimension by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles/Entitlements included in the Dimension are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member.

Request

Path Parameters

    roleId stringrequired

    Parent Role Id of the dimension.

    Example: 6603fba3004f43c687610a29195252ce
    dimensionId stringrequired

    Id of the Dimension

    Example: 2c9180835d191a86015d28455b4a2329

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: idn:role-unchecked:manage, idn:role-checked:manage
user levels: ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN
package main

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

func main() {

url := "https://sailpoint.api.identitynow.com/v2024/roles/:roleId/dimensions/:dimensionId"
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
ResponseClear

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