Query callback rule list¶
Query the callback routing rules in the workspace.
HTTP
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/callback-rules
Before you call this API¶
Configure the regional API endpoint and authentication, and select the target workspace.
Request¶
Shell
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/callback-rules" -H "X-API-Key: $CLOUDSIGMA_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"
Successful response¶
Returns 200 and callback rule list on success.
JSON
{"code":0,"data":{"items":[]}}
The response fields are as follows.
Field |
Type |
Description |
|---|---|---|
|
array |
Callback rules. |
Error response¶
JSON
{"code":6,"message":"unauthenticated"}
Last updated on