Skip to content

Delete Company Validity

Request

Delete a company validity.

Security
oAuth2ClientCredentials
Path
company_idstring, (uuid)(Company Id)required
idstring, (uuid)(Id)required
DELETE
/v1/companies/company/{company_id}/validity/{id}
import requests

company_id = "YOUR_company_id_PARAMETER"
id = "YOUR_id_PARAMETER"
url = "https://api.qargo.com/v1/companies/company/" + company_id + "/validity/" + id

headers = {"Authorization": "Bearer <YOUR_TOKEN_HERE>"}

response = requests.delete(url, headers=headers)

if response.status_code == 204:
  print("success")
else:
  data = response.json()
  print(data)

Responses

Successful Response

Response
No content