using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/vault-forward/configs/{config_id}/authentications/{authentication_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);{
"type": "error",
"code": "unauthorized",
"status": 401,
"message": "No valid API authentication found",
"details": []
}Removes a configured Vault Forward authentication method, disallowing it from being applied in Vault Forward requests.
using RestSharp;
var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/vault-forward/configs/{config_id}/authentications/{authentication_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);{
"type": "error",
"code": "unauthorized",
"status": 401,
"message": "No valid API authentication found",
"details": []
}vault-forward-authentications.write scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the Vault Forward configuration.
"46973e9d-88a7-44a6-abfe-be4ff0134ff4"
The ID of the Vault Forward authentication method.
"46973e9d-88a7-44a6-abfe-be4ff0134ff4"
Returns an empty response.
Was this page helpful?