curl --request PUT \
--url https://use.hoop.dev/api/plugins/{name}/connections/{id} \
--header 'Content-Type: application/json' \
--data '{
"config": [
"sre",
"devops"
]
}'
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"connection_id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"id": "B39D74FA-EF2E-4B0C-A28A-D382B18043C6",
"plugin_id": "review",
"updated_at": "2024-07-25T19:36:41Z"
}
Update or create a plugin connection resource
curl --request PUT \
--url https://use.hoop.dev/api/plugins/{name}/connections/{id} \
--header 'Content-Type: application/json' \
--data '{
"config": [
"sre",
"devops"
]
}'
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"connection_id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"id": "B39D74FA-EF2E-4B0C-A28A-D382B18043C6",
"plugin_id": "review",
"updated_at": "2024-07-25T19:36:41Z"
}
The request body resource
The body is of type object
.
OK
The response is of type object
.
Was this page helpful?