username:passwordAuthorization: Basic *****************{
"active": false,
"authorization_header": "string",
"branch_filter": "string",
"config": {
"property1": "string",
"property2": "string"
},
"events": [
"string"
],
"type": "dingtalk"
}curl --location --request POST '/orgs//hooks' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"active": false,
"authorization_header": "string",
"branch_filter": "string",
"config": {
"property1": "string",
"property2": "string"
},
"events": [
"string"
],
"type": "dingtalk"
}'{
"active": true,
"authorization_header": "string",
"branch_filter": "string",
"config": {
"property1": "string",
"property2": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"events": [
"string"
],
"id": 0,
"type": "string",
"updated_at": "2019-08-24T14:15:22Z"
}