CIDR Lists

Create CIDR [WRITE]

Changed on
post/v2/network/cidr-list/{namespace}

Request

  • Base URL
    https://api.endpoints.huggingface.cloud (the document declares no server; this is the origin it was published from)
  • URL
    https://api.endpoints.huggingface.cloud/v2/network/cidr-list/{namespace}
  • Auth
    HTTP bearer

Path parameters

namespacestring required

User or organization name

Request body

cidrListstring[] required

IP ranges in CIDR notation

idstring nullable

Unique identifier (generated on creation)

namestring required

Human-readable name for this CIDR list

Example request

{
  "cidrList": [
    "10.0.0.0/8",
    "192.168.1.0/24"
  ],
  "name": "office-network"
}

Response

CIDR created successfully

cidrListstring[] required

IP ranges in CIDR notation

idstring nullable

Unique identifier (generated on creation)

namestring required

Human-readable name for this CIDR list

Example response

{
  "cidrList": [
    "10.0.0.0/8",
    "192.168.1.0/24"
  ],
  "name": "office-network"
}

Changes