Authentication
Connections
Data Masking Rules
AWS
Guard Rails
Server Management
Jira
Organization Management
Plugins
Reports
User Management
Sessions
Session
Plugins
Update Plugin Config
Update the Plugin resource top level configuration.
PUT
/
plugins
/
{name}
/
config
Copy
Ask AI
curl --request PUT \
--url https://use.hoop.dev/api/plugins/{name}/config \
--header 'Content-Type: application/json' \
--data '{
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
}
}'
Copy
Ask AI
{
"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 plugin
Body
application/json
The request body resource
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request PUT \
--url https://use.hoop.dev/api/plugins/{name}/config \
--header 'Content-Type: application/json' \
--data '{
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
}
}'
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.