Skip to content
代码片段 群组 项目
提交 cac77d92 编辑于 作者: Hitesh Raghuvanshi's avatar Hitesh Raghuvanshi 提交者: Fiona Neill
浏览文件

Added documentation for instance headers destroy API

上级 5405ca1f
No related branches found
No related tags found
无相关合并请求
......@@ -481,6 +481,20 @@ Streaming destination is deleted if:
- The returned `errors` object is empty.
- The API responds with `200 OK`.
To remove an HTTP header, use the GraphQL `auditEventsStreamingInstanceHeadersDestroy` mutation.
To retrieve the header ID,
[list all the custom HTTP headers](#list-streaming-destinations) for the instance.
```graphql
mutation {
auditEventsStreamingInstanceHeadersDestroy(input: { headerId: "gid://gitlab/AuditEvents::Streaming::InstanceHeader/<id>" }) {
errors
}
}
```
The header is deleted if the returned `errors` object is empty.
### Google Cloud Logging configurations
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/409422) in GitLab 16.1.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册