Organisations
Delete an organisation (only possible if the organisation has no configured cloud accounts, no active clusters and no active monitoring tenants).
Path Parameters
organisationIdentitystring
Format
"uuid"
Response Body
Request was successfully processed, but there is no response body to return.
Invalid request parameters. Please review the documentation for valid parameter values.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
You do not have the necessary permissions to access this resource.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
The requested resource could not be found. Please check the resource URL or identifier.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
An internal error occurred on the server.
TypeScript Definitions
Use the response body type in TypeScript.
response?unknown
curl -X DELETE "https://api.avisi.cloud/api/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
fetch("https://api.avisi.cloud/api/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.avisi.cloud/api/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.avisi.cloud/api/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
response = requests.request("DELETE", url)
print(response.text)
Empty
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}