Toggle addon on stack item.
post/midgard/v0.1/addons/toggle/{stackItemId}
Enables or disables an addon for the given stack item.
Request
Authorization
X-AT
header
apiKey
Path Parameters
stackItemIdThe stack item ID.
integer
REQUIRED
Body
application/json
nameAddon name.
string
REQUIRED
Response
200Addon successfully toggled.
403User is not allowed to access this resource.
404Stack item not found.
422Invalid request data or addon toggle failed.
500Addon toggle failed with technical error.
Shell cURL
shell
Show schema
json