Call the DeleteCollector to delete the collector.
Debugging
Request header
This operation uses only the common request header. For more information, see Common request parameters.
Request structure
DELETE /openapi/collectors/[ResId] HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
ResId | String | Path | Yes | ct-cn-92z1h38882dal**** |
The collector ID. |
ClientToken | String | Query | No | 5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
This parameter is used to ensure the idempotence of the request. The value of this parameter is generated by the client and is unique among different requests. The maximum length is 64 ASCII characters. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1**** |
The ID of the request. |
Result | Boolean | true |
The following result is returned:
|
Examples
Sample requests
DELETE /openapi/collectors/ct-cn-77uqof2s7rg5c**** HTTP/1.1 public request header
Sample success responses
JSON
format
{ "Result": true, "RequestId": "1A8571CF-8591-485B-AE44-131C49DC****" }
Error codes
For a list of error codes, visit the API Error Center.