PATCH
/
waap
/
v1
/
domains
/
{domain_id}
/
insight-silences
/
{silence_id}
import os
from datetime import datetime
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
waap_insight_silence = client.waap.domains.insight_silences.update(
    silence_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    domain_id=0,
    author="author",
    comment="comment",
    expire_at=datetime.fromisoformat("2019-12-27T18:11:19.117"),
)
print(waap_insight_silence.id)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "insight_type": "<string>",
  "labels": {},
  "comment": "<string>",
  "author": "<string>",
  "expire_at": "2023-11-07T05:31:56Z"
}

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

domain_id
integer
required

The domain ID

silence_id
string
required

A generated unique identifier for the silence

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.