Delete Organization
DELETE https://{server_address}/api/v1/organization
Delete the organization. You can't delete your own, root, "Clients" group, or "Partners" group organizations. Additionally, you can't delete an organization that has sub-organizations or devices.
Query Parameters
Name
Type
Description
orgId
1
Organization's identifier. Should be a valid integer.
Headers
Name
Type
Description
Authorization*
Bearer {access_token}
Organization was successfully deleted
{
"error": {
"message": "Organization with identifier 1 is not found or you don't have access to it."
}
}Request examples:
# curl command example:
$ curl -X DELETE -H "Authorization: Bearer {accessToken}" https://fra1.blynk.cloud/api/v1/organization?orgId={orgId}
$ curl -X DELETE -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" https://fra1.blynk.cloud/api/v1/organization?orgId=1Last updated
Was this helpful?

