curl --request POST \
--url https://api.extole.io/v2/settings/security/keys/{key_id}/delete \
--header 'Authorization: <api-key>'import requests
url = "https://api.extole.io/v2/settings/security/keys/{key_id}/delete"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.extole.io/v2/settings/security/keys/{key_id}/delete', 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.extole.io/v2/settings/security/keys/{key_id}/delete",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <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"
"net/http"
"io"
)
func main() {
url := "https://api.extole.io/v2/settings/security/keys/{key_id}/delete"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.extole.io/v2/settings/security/keys/{key_id}/delete")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.extole.io/v2/settings/security/keys/{key_id}/delete")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"algorithm": "A128KW",
"component_ids": [
"<string>"
],
"component_references": [
{
"component_id": "<string>",
"socket_names": [
"<string>"
]
}
],
"created_at": "2025-10-24T02:00:00-07:00",
"description": "<string>",
"id": "<string>",
"key": "<string>",
"name": "<string>",
"partner_key_id": "<string>",
"tags": [
"<string>"
],
"type": "JWT",
"updated_at": "2025-10-24T02:00:00-07:00"
}Delete client key
Permanently deletes an archived client key. The key must not be referenced by campaign components or other platform resources.
curl --request POST \
--url https://api.extole.io/v2/settings/security/keys/{key_id}/delete \
--header 'Authorization: <api-key>'import requests
url = "https://api.extole.io/v2/settings/security/keys/{key_id}/delete"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.extole.io/v2/settings/security/keys/{key_id}/delete', 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.extole.io/v2/settings/security/keys/{key_id}/delete",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: <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"
"net/http"
"io"
)
func main() {
url := "https://api.extole.io/v2/settings/security/keys/{key_id}/delete"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.extole.io/v2/settings/security/keys/{key_id}/delete")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.extole.io/v2/settings/security/keys/{key_id}/delete")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"algorithm": "A128KW",
"component_ids": [
"<string>"
],
"component_references": [
{
"component_id": "<string>",
"socket_names": [
"<string>"
]
}
],
"created_at": "2025-10-24T02:00:00-07:00",
"description": "<string>",
"id": "<string>",
"key": "<string>",
"name": "<string>",
"partner_key_id": "<string>",
"tags": [
"<string>"
],
"type": "JWT",
"updated_at": "2025-10-24T02:00:00-07:00"
}Response
Successful response
- A128KW
- A192KW
- A256KW
- ES256_PRIVATE
- ES256_PUBLIC
- ES384_PRIVATE
- ES384_PUBLIC
- ES512_PRIVATE
- ES512_PUBLIC
- HS256
- HS384
- HS512
- HTTP_BASIC
- OAUTH
- OAUTH_GENERIC
- OAUTH_LEAD_PERFECTION
- OAUTH_LISTRAK
- OAUTH_OPTIMOVE
- OAUTH_SALESFORCE
- OAUTH_SFDC
- OAUTH_SFDC_PASSWORD
- PASSWORD
- PROXY
- PS256_PRIVATE
- PS256_PUBLIC
- PS384_PRIVATE
- PS384_PUBLIC
- PS512_PRIVATE
- PS512_PUBLIC
- RS256_PRIVATE
- RS256_PUBLIC
- RS384_PRIVATE
- RS384_PUBLIC
- RS512_PRIVATE
- RS512_PUBLIC
- RSA
- RSA_OAEP_256_PRIVATE
- RSA_OAEP_256_PUBLIC
- RSA_OAEP_384_PRIVATE
- RSA_OAEP_384_PUBLIC
- RSA_OAEP_512_PRIVATE
- RSA_OAEP_512_PUBLIC
- SSL_PKCS_12
Stored generic client key definition. Fields name and description are unevaluated and appear in buildtime-evaluatable form.
RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
Optional build-time expression that resolves to a human-readable description. Buildtime expressions use ClientKeyBuildtimeContext.
Display name for the key, in the same build-time evaluatable form that was supplied on create or update. Buildtime expressions use ClientKeyBuildtimeContext.
RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
Was this page helpful?
