updatePlugin
Plugin Update
updatePlugin(
input: CodebaseUpdatePluginInput
): CodebaseUpdatePluginResult!
Example
- Query
- Variables
- Response
mutation ($input: CodebaseUpdatePluginInput) {
updatePlugin(input: $input) {
code
message
status
}
}
{
"input": {
"appId": 42,
"download": "download",
"environmentId": 42,
"location": "location",
"marketplace": "marketplace",
"name": "A name",
"slug": "slug",
"version": "version",
"vulnCount": 42
}
}
{
"data": {
"updatePlugin": {
"code": "code",
"message": "message",
"status": "status"
}
}
}
Arguments
updatePlugin.input ● CodebaseUpdatePluginInput input common
The application, environment, and plugin version details to update.
Type
CodebaseUpdatePluginResult object common
The result of a plugin update request.