Skip to main content
DELETE
/
cdn
/
origin_groups
/
{origin_group_id}
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
client.cdn.origin_groups.delete(
    0,
)
{
  "name": [
    "There are resources using this group"
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

origin_group_id
integer
required

Origin group ID.

Response

Successful.