Skip to content

Delete a log sink

DELETE
/api/v1/log-sinks/{id}
curl --request DELETE \
--url https://osctrl.net/api/v1/log-sinks/1 \
--header 'Authorization: <Authorization>'

Deletes a log sink by ID. Deletion takes effect on the next apply/reload.

id
required
integer

Sink ID

No content

Bad request

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Unauthorized

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Forbidden

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Not found

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}