Delete OAuth Application
curl --request DELETE \
--url https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}', 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://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Oauth Application deleted",
"data": {
"_id": "6a143e0164e77fc7a0e2b5ea",
"institution": "68da3e6080b90fbbb96716c9",
"name": "Prince Muteh2",
"description": "aearsoms",
"redirectUri": [],
"isVerified": true,
"isOfficial": false,
"institutionId": "53f1e54df75bbab63c5859d780498c1a",
"subject": "E=prince.muteh@gmail.com, CN=PRINCE, OU=, O=PRINCE, L=PRINCE, ST=PRINCE, C=Ng",
"scopes": [
"*"
],
"grantType": "client_credentials",
"isDeleted": true,
"createdBy": "68da3e6180b90fbbb96716cb",
"createdAt": "2026-05-25T12:18:09.005Z",
"updatedAt": "2026-05-25T12:22:17.498Z",
"id": "6a143e0164e77fc7a0e2b5ea"
}
}Institution OAuth
Delete OAuth Application
Delete an OAuth authorization/application by id.
DELETE
/
institutions
/
oauth
/
{institutionId}
Delete OAuth Application
curl --request DELETE \
--url https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}', 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://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.cardcore.cloud/institutions/oauth/{institutionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"message": "Oauth Application deleted",
"data": {
"_id": "6a143e0164e77fc7a0e2b5ea",
"institution": "68da3e6080b90fbbb96716c9",
"name": "Prince Muteh2",
"description": "aearsoms",
"redirectUri": [],
"isVerified": true,
"isOfficial": false,
"institutionId": "53f1e54df75bbab63c5859d780498c1a",
"subject": "E=prince.muteh@gmail.com, CN=PRINCE, OU=, O=PRINCE, L=PRINCE, ST=PRINCE, C=Ng",
"scopes": [
"*"
],
"grantType": "client_credentials",
"isDeleted": true,
"createdBy": "68da3e6180b90fbbb96716cb",
"createdAt": "2026-05-25T12:18:09.005Z",
"updatedAt": "2026-05-25T12:22:17.498Z",
"id": "6a143e0164e77fc7a0e2b5ea"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Path parameter: institutionId.
Response
200 - application/json
Delete OAuth Application completed successfully.
The response is of type object.