Method: legacyPlaybooks.legacyRemoveCategories

Full name: projects.locations.instances.legacyPlaybooks.legacyRemoveCategories

Remove workflow categories.

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to remove the categories for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "ids": [
    string
  ]
}
Fields
ids[]

string (int64 format)

Required. The ids of the categories to remove.

Response body

LegacyPlaybookRemoveCategoriesResponse is a response for removing categories.

If successful, the response body contains data with the following structure:

JSON representation
{
  "deletedCategories": [
    {
      object (ApiDeleteCategoryResult)
    }
  ],
  "deletedPlaybooks": [
    {
      object (ApiDeleteWorkflowResult)
    }
  ]
}
Fields
deletedCategories[]

object (ApiDeleteCategoryResult)

Optional. The removed categories.

deletedPlaybooks[]

object (ApiDeleteWorkflowResult)

Optional. The removed playbooks.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ApiDeleteCategoryResult

Api result for deletion of categories

JSON representation
{
  "id": string,
  "errorMessage": string,
  "failed": boolean
}
Fields
id

string (int64 format)

Required. Id of category

errorMessage

string

Optional. Any error messages associated with the call

failed

boolean

Required. Flag indicating whether it was successful or error