PUT
/
workspaces
/
{workspace_id}
/
addons
/
{addon_id}
Update addon
curl --request PUT \
  --url https://s-server-demo.siftd.ai:9800/api/workspaces/{workspace_id}/addons/{addon_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "addon_id": "<string>",
  "code": "<string>",
  "cxn_fields": {},
  "cxn_scheme": "",
  "description": "<string>",
  "name": "<string>",
  "requirements": "<string>",
  "tools": {}
}'
{
  "addon_id": "<string>",
  "code": "<string>",
  "cxn_fields": {},
  "cxn_scheme": "",
  "description": "<string>",
  "name": "<string>",
  "requirements": "<string>",
  "tools": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

Workspace ID

addon_id
string
required

Addon ID

Query Parameters

org_id
string
required

Organization ID

update_code
string
default:false

Update the addon code

Body

application/json

Addon object with updated fields

The body is of type object.

Response

200 - */*

OK

The response is of type object.