Mutation

update_custom_extension_description

Updates the description property of a custom extension.

Arguments

input: UpdateCustomExtensionDescriptionInput!

The new description for the custom extension.


Input Fields

id(): ID!
The unique identifier of the custom extension.
description(): String!
The new description for the custom extension.

Return Fields

extension(): Extension!
The uploaded extension.

Example

Query
mutation UpdateCustomExtensionDescription($input: UpdateCustomExtensionDescriptionInput!) {
  update_custom_extension_description(input: $input) {
    extension {
      id
      description
    }
  }
}
Variables
{
  "input": {
    "description": "Adds an X-Scan-Id header to every request the scanner sends",
    "id": "f8fd12c1-d186-305f-be12-19ed029d65ec"
  }
}
Result
{
  "data": {
    "update_custom_extension_description": {
      "extension": {
        "id": "f8fd12c1-d186-305f-be12-19ed029d65ec",
        "description": "Adds an X-Scan-Id header to every request the scanner sends"
      }
    }
  }
}