Skip to main content
PUT
/
workspaces
/
{ws_id}
/
plugins
/
{id}
Update a plugin
curl --request PUT \
  --url http://localhost:8080/workspaces/{ws_id}/plugins/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "enabled": true,
  "endpoint_id": "<string>",
  "source_id": "<string>",
  "config": {},
  "metadata": {}
}'
{
  "id": "<string>",
  "name": "<string>",
  "enabled": true,
  "endpoint_id": "<string>",
  "source_id": "<string>",
  "config": {},
  "metadata": {},
  "created_at": 123,
  "updated_at": 123
}

Path Parameters

ws_id
string
required

The workspace id

Example:

"default"

id
string
required

Body

application/json
id
string
name
string
enabled
boolean
default:true
endpoint_id
string | null
source_id
string | null
config
object | null
metadata
object

Response

200 - application/json

OK

id
string
name
string
enabled
boolean
default:true
endpoint_id
string | null
source_id
string | null
config
object | null
metadata
object
created_at
integer
updated_at
integer