Delete a custom asset type hierarchy configuration.
Deletes an existing hierarchy configuration for the specified configuration ID. System-defined configurations cannot be deleted.
DELETE https://[hostname]/api/v1/openlineage/config/hierarchies/{configId}
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| configId | string | Yes |
Unique identifier of the hierarchy configuration to update. |
Request Examples
Each example shows how to call this endpoint with the documented method, URL, headers, and request body format.
curl -X DELETE "/api/v1/openlineage/config/hierarchies/{configId}" \
-H "Authorization: Bearer <JWT>"
fetch("/api/v1/openlineage/config/hierarchies/{configId}", {
method: "DELETE",
headers: {
"Authorization": "Bearer <JWT>"
}
})
.then(res => res.json())
.then(data => console.log(data));
import json
import requests
url = "/api/v1/openlineage/config/hierarchies/{configId}"
headers = {
"Authorization": "Bearer <JWT>"
}
payload = None
response = requests.delete(url, headers=headers)
print(response.json())
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
body := http.NoBody
req, _ := http.NewRequest("DELETE", "/api/v1/openlineage/config/hierarchies/{configId}", body)
req.Header.Set("Authorization", "Bearer <JWT>")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body2, _ := io.ReadAll(resp.Body)
fmt.Println(string(body2))
}
Success Responses
This response confirms that the hierarchy configuration was deleted successfully.
No response payload is returned for this status code.
Error Responses
This response indicates the target configuration is system-defined and cannot be deleted.
No response payload is defined for this status code.
This response indicates no hierarchy configuration exists for the specified configuration ID.
No response payload is defined for this status code.