Plugins
Update Plugin
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
Plugins
Update Plugin
Update Plugin resource. The config
and name
attributes are immutable for this endpoint.
PUT
/
plugins
/
{name}
curl --request PUT \
--url https://use.hoop.dev/api/plugins/{name} \
--header 'Content-Type: application/json' \
--data '{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
}
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"name": "slack",
"priority": 0,
"source": "null"
}'
{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
},
"id": "D9A998B3-AA7B-49B0-8463-C9E36435FC0B"
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "slack",
"priority": 0,
"source": "null"
}
Path Parameters
The name of the resource
Body
application/json
The request body resource
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
curl --request PUT \
--url https://use.hoop.dev/api/plugins/{name} \
--header 'Content-Type: application/json' \
--data '{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
}
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"name": "slack",
"priority": 0,
"source": "null"
}'
{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
},
"id": "D9A998B3-AA7B-49B0-8463-C9E36435FC0B"
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "slack",
"priority": 0,
"source": "null"
}