- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ApiDeleteCategoryResult
- Try it!
Full name: projects.locations.instances.legacyPlaybooks.legacyRemoveCategories
Remove workflow categories.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
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[] |
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 ( |
Fields | |
---|---|
deletedCategories[] |
Optional. The removed categories. |
deletedPlaybooks[] |
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 |
Required. Id of category |
errorMessage |
Optional. Any error messages associated with the call |
failed |
Required. Flag indicating whether it was successful or error |