Italiano
cURL
curl --request DELETE \ --url https://app.aegister.com/api/v1/organizations/{id} \ --header 'X-Aegister-Token: <api-key>'
{ "error": 0, "messages": "<array>", "data": { "id": 123, "name": "<string>", "description": "<string>", "ips": [ "127.0.0.1" ], "logo": "<string>", "domains": [ "<string>" ], "website": "<string>", "sectors": [ "Agriculture" ], "industries": [ "Accounting" ], "infrastructure": "cloud", "number_employees": 123, "contacts": [ { "name": "<string>", "role": "<string>", "email": "[email protected]", "phone": "<string>", "email_report": true } ] } }
Soft delete an Organization.
The authenticated user can delete only an Organization is part of and has Owner priviledges.
Any value different from 0 indicates an error. More details can be found in messages.
messages
0 <= x <= 0
0
If error is 1, contains zero or more details on the error.
error
1
[]
Mostra attributi figli