---
title: Sinkholes
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Intel](https://developers.cloudflare.com/api/go/resources/intel)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Sinkholes

##### [List sinkholes owned by this account](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/methods/list)

client.Intel.Sinkholes.List(ctx, query) (\*SinglePage\[[Sinkhole](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/intel/sinkholes

##### [Get a sinkhole](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/methods/get)

client.Intel.Sinkholes.Get(ctx, sinkholeID, query) (\*[Sinkhole](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/intel/sinkholes/{sinkhole\_id}

##### [Create a new sinkhole for your account](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/methods/create)

client.Intel.Sinkholes.New(ctx, params) (\*[Sinkhole](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/intel/sinkholes

##### [Update a sinkhole](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/methods/update)

client.Intel.Sinkholes.Update(ctx, sinkholeID, params) (\*[SinkholeUpdateResponse](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes%20%3E%20(model)%20SinkholeUpdateResponse%20%3E%20(schema)>), error)

PUT/accounts/{account\_id}/intel/sinkholes/{sinkhole\_id}

##### [Delete a sinkhole](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/methods/delete)

client.Intel.Sinkholes.Delete(ctx, sinkholeID, body) (\*[SinkholeDeleteResponse](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes%20%3E%20(model)%20SinkholeDeleteResponse%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/intel/sinkholes/{sinkhole\_id}

##### ModelsExpand Collapse

<details>

<summary>

type Sinkhole struct{…}

</summary>

ID stringOptional

The unique identifier for the sinkhole.

<a href="#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

AccountTag stringOptional

The account tag that owns this sinkhole.

<a href="#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

CreatedOn TimeOptional

The date and time when the sinkhole was created.

formatdate-time

<a href="#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

ModifiedOn TimeOptional

The date and time when the sinkhole was last modified.

formatdate-time

<a href="#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

Name stringOptional

The name of the sinkhole.

<a href="#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

R2Bucket stringOptional

The name of the R2 bucket to store results.

<a href="#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)%20%3E%20(property)%20r2_bucket">Link to this property</a>

R2ID stringOptional

The id of the R2 instance.

<a href="#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)%20%3E%20(property)%20r2_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20intel.sinkholes%20%3E%20(model)%20sinkhole%20%3E%20(schema)>)

#### SinkholesIngresses

##### [Create an ingress rule](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/subresources/ingresses/methods/create)

client.Intel.Sinkholes.Ingresses.New(ctx, sinkholeID, params) (\*[SinkholeIngressNewResponse](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes.ingresses%20%3E%20(model)%20SinkholeIngressNewResponse%20%3E%20(schema)>), error)

POST/zones/{zone\_id}/intel/sinkholes/{sinkhole\_id}/ingresses

##### [Get an ingress rule](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/subresources/ingresses/methods/get)

client.Intel.Sinkholes.Ingresses.Get(ctx, sinkholeID, ingressID, query) (\*[SinkholeIngressGetResponse](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes.ingresses%20%3E%20(model)%20SinkholeIngressGetResponse%20%3E%20(schema)>), error)

GET/zones/{zone\_id}/intel/sinkholes/{sinkhole\_id}/ingresses/{ingress\_id}

##### [Update an ingress rule](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/subresources/ingresses/methods/update)

client.Intel.Sinkholes.Ingresses.Update(ctx, sinkholeID, ingressID, params) (\*[SinkholeIngressUpdateResponse](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes.ingresses%20%3E%20(model)%20SinkholeIngressUpdateResponse%20%3E%20(schema)>), error)

PUT/zones/{zone\_id}/intel/sinkholes/{sinkhole\_id}/ingresses/{ingress\_id}

##### [Delete an ingress rule](https://developers.cloudflare.com/api/go/resources/intel/subresources/sinkholes/subresources/ingresses/methods/delete)

client.Intel.Sinkholes.Ingresses.Delete(ctx, sinkholeID, ingressID, body) (\*[SinkholeIngressDeleteResponse](<https://developers.cloudflare.com/api/go/resources/intel#(resource)%20intel.sinkholes.ingresses%20%3E%20(model)%20SinkholeIngressDeleteResponse%20%3E%20(schema)>), error)

DELETE/zones/{zone\_id}/intel/sinkholes/{sinkhole\_id}/ingresses/{ingress\_id}