Soft-delete a company operation type
curl --request DELETE \
--url https://api.finsync.ar/api/operation-types/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/operation-types/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/operation-types/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finsync.ar/api/operation-types/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Operation Types
Soft-delete a company operation type
Sets deleted_at on the CompanyOperationTypes row for the API-key company. Same as the dashboard delete. 404 if missing or already deleted.
DELETE
/
api
/
operation-types
/
{id}
Soft-delete a company operation type
curl --request DELETE \
--url https://api.finsync.ar/api/operation-types/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/operation-types/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/operation-types/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finsync.ar/api/operation-types/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)