End a relationship
curl --request DELETE \
--url https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"endReason": "no_longer_related",
"endNote": "Resigned as director effective 2026-11-20."
}
'import requests
url = "https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}"
payload = {
"endReason": "no_longer_related",
"endNote": "Resigned as director effective 2026-11-20."
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
endReason: 'no_longer_related',
endNote: 'Resigned as director effective 2026-11-20.'
})
};
fetch('https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
'endReason' => 'no_longer_related',
'endNote' => 'Resigned as director effective 2026-11-20.'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}"
payload := strings.NewReader("{\n \"endReason\": \"no_longer_related\",\n \"endNote\": \"Resigned as director effective 2026-11-20.\"\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"endReason\": \"no_longer_related\",\n \"endNote\": \"Resigned as director effective 2026-11-20.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"endReason\": \"no_longer_related\",\n \"endNote\": \"Resigned as director effective 2026-11-20.\"\n}"
response = http.request(request)
puts response.read_body{
"msg": "OK",
"status": 200,
"result": {
"relationship": {
"id": "6735a2d04f1e2b7a9c0d2f13",
"subjectProfileId": "6735a1c94f1e2b7a9c0d1e01",
"relatedProfileId": "6735a1c94f1e2b7a9c0d1e04",
"workspaceId": "6720f0aa3b9c4d5e6f708192",
"relationshipTypes": [
"director_officer"
],
"relationshipLabel": "",
"ownershipPercent": null,
"ownershipBasis": "",
"ownershipSource": "client_declared",
"verificationNote": "",
"verifiedBy": "",
"verifiedAt": null,
"thresholdAtCreation": 25,
"meetsThreshold": false,
"dedupDecision": "new_profile",
"dedupCandidateIds": null,
"source": "api",
"status": "ended",
"addNote": "",
"createdBy": "application-id",
"createdAt": "2026-11-13T15:08:12.880Z",
"updatedBy": "application-id",
"updatedAt": "2026-11-20T16:45:10.000Z",
"endedBy": "application-id",
"endedAt": "2026-11-20T16:45:10.000Z",
"endReason": "no_longer_related",
"endNote": "Resigned as director effective 2026-11-20."
}
}
}Profile Management
End a relationship
Beta: available on request. Contact your Minerva representative or support@gominerva.com to enable related parties for your organization. Until they are enabled, this endpoint returns HTTP 403 with profile_relationships.not_enabled.
Ends a relationship. The relationship is not deleted: it keeps its history and records who ended it, when and why, and appears in GET with include=ended. The related party’s profile and its monitoring are not changed; archive the party’s profile separately if you no longer need it. Ending a relationship that has already ended returns it unchanged.
DELETE
/
profiles
/
{profileId}
/
relationships
/
{relationshipId}
End a relationship
curl --request DELETE \
--url https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"endReason": "no_longer_related",
"endNote": "Resigned as director effective 2026-11-20."
}
'import requests
url = "https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}"
payload = {
"endReason": "no_longer_related",
"endNote": "Resigned as director effective 2026-11-20."
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
endReason: 'no_longer_related',
endNote: 'Resigned as director effective 2026-11-20.'
})
};
fetch('https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_POSTFIELDS => json_encode([
'endReason' => 'no_longer_related',
'endNote' => 'Resigned as director effective 2026-11-20.'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}"
payload := strings.NewReader("{\n \"endReason\": \"no_longer_related\",\n \"endNote\": \"Resigned as director effective 2026-11-20.\"\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"endReason\": \"no_longer_related\",\n \"endNote\": \"Resigned as director effective 2026-11-20.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gominerva.com/clm/v1/profiles/{profileId}/relationships/{relationshipId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"endReason\": \"no_longer_related\",\n \"endNote\": \"Resigned as director effective 2026-11-20.\"\n}"
response = http.request(request)
puts response.read_body{
"msg": "OK",
"status": 200,
"result": {
"relationship": {
"id": "6735a2d04f1e2b7a9c0d2f13",
"subjectProfileId": "6735a1c94f1e2b7a9c0d1e01",
"relatedProfileId": "6735a1c94f1e2b7a9c0d1e04",
"workspaceId": "6720f0aa3b9c4d5e6f708192",
"relationshipTypes": [
"director_officer"
],
"relationshipLabel": "",
"ownershipPercent": null,
"ownershipBasis": "",
"ownershipSource": "client_declared",
"verificationNote": "",
"verifiedBy": "",
"verifiedAt": null,
"thresholdAtCreation": 25,
"meetsThreshold": false,
"dedupDecision": "new_profile",
"dedupCandidateIds": null,
"source": "api",
"status": "ended",
"addNote": "",
"createdBy": "application-id",
"createdAt": "2026-11-13T15:08:12.880Z",
"updatedBy": "application-id",
"updatedAt": "2026-11-20T16:45:10.000Z",
"endedBy": "application-id",
"endedAt": "2026-11-20T16:45:10.000Z",
"endReason": "no_longer_related",
"endNote": "Resigned as director effective 2026-11-20."
}
}
}Authorizations
Path Parameters
Body
application/json