인증된 엔터티 삭제
인증된 엔터티 삭제
DELETE https://api.iafcertsearch.org/api/client/v1/mncb/ce/{company_id}
이 엔드포인트를 사용하여 인증된 엔터티와 해당 인증을 삭제할 수 있습니다.
Headers
Name
Type
Description
Content-Type*
String
application/json
x-http-authorization*
String
https://iafcertsearch.org/import-management/api-integration에서 받은 API 키
예시:
x-http-authorization: <<API KEY>>
{
"data": 1
}{
"error": true,
"timestamp": number (Epoch time),
"elapse": number,
"errors": {
"message": "요청된 리소스를 찾을 수 없지만 나중에 다시 사용할 수 있습니다. 클라이언트에 의한 후속 요청이 허용됩니다.",
"code": "not_found"
}
}이 방법을 호출하는 방법을 살펴보세요:
curl --location -g --request DELETE 'https://api.iafcertsearch.org/api/client/v1/mncb/ce/{company_id}' \
--header 'Content-Type: application/json' \
--header 'x-http-authorization: <<API_KEY>>'require "uri"
require "json"
require "net/http"
url = URI("https://api.iafcertsearch.org/api/client/v1/mncb/ce/{company_id}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Content-Type"] = "application/json"
request["x-http-authorization"] = "<<API_KEY>>"
response = https.request(request)
puts response.read_bodyimport http.client
import json
conn = http.client.HTTPSConnection("api.iafcertsearch.org")
payload = ''
headers = {
'Content-Type': 'application/json',
'x-http-authorization': '<<API_KEY>>'
}
conn.request("DELETE", "/api/client/v1/mncb/ce/{company_id}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))Last updated