Delete TRACES credentials
curl --request DELETE \
--url https://test-api.sandbox.co.in/tds/traces/deductors/credential \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tds.traces.deductor.credential.delete.request",
"tan": "AHMS45586C"
}
'import requests
url = "https://test-api.sandbox.co.in/tds/traces/deductors/credential"
payload = {
"@entity": "in.co.sandbox.tds.traces.deductor.credential.delete.request",
"tan": "AHMS45586C"
}
headers = {
"x-api-key": "<x-api-key>",
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'x-api-key': '<x-api-key>',
Authorization: '<authorization>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
'@entity': 'in.co.sandbox.tds.traces.deductor.credential.delete.request',
tan: 'AHMS45586C'
})
};
fetch('https://test-api.sandbox.co.in/tds/traces/deductors/credential', 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://test-api.sandbox.co.in/tds/traces/deductors/credential",
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([
'@entity' => 'in.co.sandbox.tds.traces.deductor.credential.delete.request',
'tan' => 'AHMS45586C'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: application/json",
"x-api-key: <x-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://test-api.sandbox.co.in/tds/traces/deductors/credential"
payload := strings.NewReader("{\n \"@entity\": \"in.co.sandbox.tds.traces.deductor.credential.delete.request\",\n \"tan\": \"AHMS45586C\"\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Authorization", "<authorization>")
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://test-api.sandbox.co.in/tds/traces/deductors/credential")
.header("x-api-key", "<x-api-key>")
.header("Authorization", "<authorization>")
.header("Content-Type", "application/json")
.body("{\n \"@entity\": \"in.co.sandbox.tds.traces.deductor.credential.delete.request\",\n \"tan\": \"AHMS45586C\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api.sandbox.co.in/tds/traces/deductors/credential")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<x-api-key>'
request["Authorization"] = '<authorization>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"@entity\": \"in.co.sandbox.tds.traces.deductor.credential.delete.request\",\n \"tan\": \"AHMS45586C\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"timestamp": 1788414871321,
"transaction_id": "cc440798-8d60-4346-9622-527861e626ea"
}Delete TRACES credentials
Delete the TRACES login credentials for a TAN.
DELETE
/
tds
/
traces
/
deductors
/
credential
Delete TRACES credentials
curl --request DELETE \
--url https://test-api.sandbox.co.in/tds/traces/deductors/credential \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tds.traces.deductor.credential.delete.request",
"tan": "AHMS45586C"
}
'import requests
url = "https://test-api.sandbox.co.in/tds/traces/deductors/credential"
payload = {
"@entity": "in.co.sandbox.tds.traces.deductor.credential.delete.request",
"tan": "AHMS45586C"
}
headers = {
"x-api-key": "<x-api-key>",
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'x-api-key': '<x-api-key>',
Authorization: '<authorization>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
'@entity': 'in.co.sandbox.tds.traces.deductor.credential.delete.request',
tan: 'AHMS45586C'
})
};
fetch('https://test-api.sandbox.co.in/tds/traces/deductors/credential', 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://test-api.sandbox.co.in/tds/traces/deductors/credential",
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([
'@entity' => 'in.co.sandbox.tds.traces.deductor.credential.delete.request',
'tan' => 'AHMS45586C'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: application/json",
"x-api-key: <x-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://test-api.sandbox.co.in/tds/traces/deductors/credential"
payload := strings.NewReader("{\n \"@entity\": \"in.co.sandbox.tds.traces.deductor.credential.delete.request\",\n \"tan\": \"AHMS45586C\"\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Authorization", "<authorization>")
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://test-api.sandbox.co.in/tds/traces/deductors/credential")
.header("x-api-key", "<x-api-key>")
.header("Authorization", "<authorization>")
.header("Content-Type", "application/json")
.body("{\n \"@entity\": \"in.co.sandbox.tds.traces.deductor.credential.delete.request\",\n \"tan\": \"AHMS45586C\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test-api.sandbox.co.in/tds/traces/deductors/credential")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<x-api-key>'
request["Authorization"] = '<authorization>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"@entity\": \"in.co.sandbox.tds.traces.deductor.credential.delete.request\",\n \"tan\": \"AHMS45586C\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"timestamp": 1788414871321,
"transaction_id": "cc440798-8d60-4346-9622-527861e626ea"
}Headers
API key used to identify and authenticate the client.
JWT access token. For token-generation steps, refer to the Quickstart Guide.
Body
application/json
Was this page helpful?