/api/v1/clients/{client}/payment-provider-cards/{id}
1 min
code examples curl request delete \\ \ url https //developer digitail io/api/v1/clients/{client}/payment provider cards/{id} \\ \ header 'accept application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'delete', headers myheaders, redirect 'follow' }; fetch("https //developer digitail io/api/v1/clients/{client}/payment provider cards/{id}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //developer digitail io/api/v1/clients/{client}/payment provider cards/{id}") https = net http new(url host, url port) https use ssl = true request = net http delete new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //developer digitail io/api/v1/clients/{client}/payment provider cards/{id}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("delete", url, headers=headers, data=payload) print(response text) responses // the action was successful but there is no content to return // the request was invalid or contained data that was not allowed { "message" "requested filter(s) `filter1` are not allowed allowed filter(s) are date, query, " }// the authorization token is missing or invalid // the user has sent too many requests in a given amount of time ("rate limiting") max 200 requests per minute