---
title: Silences
---

[Skip to content](#_top)

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

[Alerting](https://developers.cloudflare.com/api/python/resources/alerting)

Copy Markdown

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

---

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

# Silences

##### [List Silences](https://developers.cloudflare.com/api/python/resources/alerting/subresources/silences/methods/list)

alerting.silences.list(SilenceListParams\*\*kwargs) -> SyncSinglePage\[[SilenceListResponse](<https://developers.cloudflare.com/api/python/resources/alerting#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/alerting/v3/silences

##### [Get Silence](https://developers.cloudflare.com/api/python/resources/alerting/subresources/silences/methods/get)

alerting.silences.get(strsilence\_id, SilenceGetParams\*\*kwargs) -> [SilenceGetResponse](<https://developers.cloudflare.com/api/python/resources/alerting#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/alerting/v3/silences/{silence\_id}

##### [Create Silences](https://developers.cloudflare.com/api/python/resources/alerting/subresources/silences/methods/create)

alerting.silences.create(SilenceCreateParams\*\*kwargs) -> [SilenceCreateResponse](<https://developers.cloudflare.com/api/python/resources/alerting#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/alerting/v3/silences

##### [Update Silences](https://developers.cloudflare.com/api/python/resources/alerting/subresources/silences/methods/update)

alerting.silences.update(SilenceUpdateParams\*\*kwargs) -> SyncSinglePage\[[SilenceUpdateResponse](<https://developers.cloudflare.com/api/python/resources/alerting#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)>)]

PUT/accounts/{account\_id}/alerting/v3/silences

##### [Delete Silence](https://developers.cloudflare.com/api/python/resources/alerting/subresources/silences/methods/delete)

alerting.silences.delete(strsilence\_id, SilenceDeleteParams\*\*kwargs) -> [SilenceDeleteResponse](<https://developers.cloudflare.com/api/python/resources/alerting#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/alerting/v3/silences/{silence\_id}

##### ModelsExpand Collapse

<details>

<summary>

class SilenceListResponse: …

</summary>

id: Optional\[str]

Silence ID

maxLength32

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: Optional\[str]

When the silence was created.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

end\_time: Optional\[str]

When the silence ends.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)%20%3E%20(property)%20end_time">Link to this property</a>

policy\_id: Optional\[str]

The unique identifier of a notification policy

maxLength32

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)%20%3E%20(property)%20policy_id">Link to this property</a>

start\_time: Optional\[str]

When the silence starts.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)%20%3E%20(property)%20start_time">Link to this property</a>

updated\_at: Optional\[str]

When the silence was modified.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.silences%20%3E%20(model)%20silence_list_response%20%3E%20(schema)>)

<details>

<summary>

class SilenceGetResponse: …

</summary>

id: Optional\[str]

Silence ID

maxLength32

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: Optional\[str]

When the silence was created.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

end\_time: Optional\[str]

When the silence ends.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)%20%3E%20(property)%20end_time">Link to this property</a>

policy\_id: Optional\[str]

The unique identifier of a notification policy

maxLength32

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)%20%3E%20(property)%20policy_id">Link to this property</a>

start\_time: Optional\[str]

When the silence starts.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)%20%3E%20(property)%20start_time">Link to this property</a>

updated\_at: Optional\[str]

When the silence was modified.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.silences%20%3E%20(model)%20silence_get_response%20%3E%20(schema)>)

<details>

<summary>

class SilenceCreateResponse: …

</summary>

<details>

<summary>

errors: List\[Error]

</summary>

message: str

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

code: Optional\[int]

minimum1000

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

</details>

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)%20%3E%20(property)%20errors">Link to this property</a>

<details>

<summary>

messages: List\[Message]

</summary>

message: str

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

code: Optional\[int]

minimum1000

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

</details>

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)%20%3E%20(property)%20messages">Link to this property</a>

success: Literal\[true]

Whether the API call was successful

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.silences%20%3E%20(model)%20silence_create_response%20%3E%20(schema)>)

<details>

<summary>

class SilenceUpdateResponse: …

</summary>

id: Optional\[str]

Silence ID

maxLength32

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: Optional\[str]

When the silence was created.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

end\_time: Optional\[str]

When the silence ends.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)%20%3E%20(property)%20end_time">Link to this property</a>

policy\_id: Optional\[str]

The unique identifier of a notification policy

maxLength32

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)%20%3E%20(property)%20policy_id">Link to this property</a>

start\_time: Optional\[str]

When the silence starts.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)%20%3E%20(property)%20start_time">Link to this property</a>

updated\_at: Optional\[str]

When the silence was modified.

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.silences%20%3E%20(model)%20silence_update_response%20%3E%20(schema)>)

<details>

<summary>

class SilenceDeleteResponse: …

</summary>

<details>

<summary>

errors: List\[Error]

</summary>

message: str

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

code: Optional\[int]

minimum1000

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

</details>

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)%20%3E%20(property)%20errors">Link to this property</a>

<details>

<summary>

messages: List\[Message]

</summary>

message: str

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

code: Optional\[int]

minimum1000

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

</details>

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)%20%3E%20(property)%20messages">Link to this property</a>

success: Literal\[true]

Whether the API call was successful

<a href="#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.silences%20%3E%20(model)%20silence_delete_response%20%3E%20(schema)>)