RejectSigningRequests
curl --request POST \
--url https://api.mpcvault.com/v1/rejectSigningRequests \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"vaultUuid": "<string>"
}
'import requests
url = "https://api.mpcvault.com/v1/rejectSigningRequests"
payload = { "vaultUuid": "<string>" }
headers = {
"x-mtoken": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-mtoken': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({vaultUuid: '<string>'})
};
fetch('https://api.mpcvault.com/v1/rejectSigningRequests', 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.mpcvault.com/v1/rejectSigningRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'vaultUuid' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-mtoken: <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.mpcvault.com/v1/rejectSigningRequests"
payload := strings.NewReader("{\n \"vaultUuid\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-mtoken", "<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.post("https://api.mpcvault.com/v1/rejectSigningRequests")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"vaultUuid\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/rejectSigningRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-mtoken"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"vaultUuid\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"message": "<string>",
"serviceErrorCode": "SERVICE_ERROR_CODE_UNSPECIFIED",
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED"
}
}Signing Requests
RejectSigningRequests
Reject ongoing wallet and vault-management requests in accessible vaults.
POST
/
v1
/
rejectSigningRequests
RejectSigningRequests
curl --request POST \
--url https://api.mpcvault.com/v1/rejectSigningRequests \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"vaultUuid": "<string>"
}
'import requests
url = "https://api.mpcvault.com/v1/rejectSigningRequests"
payload = { "vaultUuid": "<string>" }
headers = {
"x-mtoken": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-mtoken': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({vaultUuid: '<string>'})
};
fetch('https://api.mpcvault.com/v1/rejectSigningRequests', 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.mpcvault.com/v1/rejectSigningRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'vaultUuid' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-mtoken: <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.mpcvault.com/v1/rejectSigningRequests"
payload := strings.NewReader("{\n \"vaultUuid\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-mtoken", "<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.post("https://api.mpcvault.com/v1/rejectSigningRequests")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"vaultUuid\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/rejectSigningRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-mtoken"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"vaultUuid\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"message": "<string>",
"serviceErrorCode": "SERVICE_ERROR_CODE_UNSPECIFIED",
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED"
}
}Requires a full-access token. Applies the existing rejection rules to ongoing wallet and vault-management signing requests in the selected vaults.
Set
To select all accessible vaults, send
vaultUuid to select one accessible vault in the token’s organization. Omit it or send an empty string to select all vaults the token can access in that organization. Requests without a vault and ClientSigner key-access grants are excluded.
{
"vaultUuid": "<VAULT_UUID>"
}
{}.
Processing continues after individual failures; successful rejections are not rolled back. The response has only error, which reports a request-level failure or a failure count, without per-request failure details. It is unset when all selected requests are rejected or no requests match.
Rejected requests cannot be reopened. To reject a single UUID, use RejectSigningRequest.Body
application/json
RejectSigningRequestsRequest selects ongoing wallet and vault-management requests using existing rejection rules. Requires a full access token. Requests without a vault and ClientSigner key grants are excluded.
Response
200 - application/json
OK
Was this page helpful?