Server.Utils.DeleteFavoriteFlow
Type: Client
Removes a specific named favorite collection spec from the current user’s saved templates.
It allows the user to delete a previously saved favorite. It will only affect the current user.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Name |
string | A name for this collection template | |
Type |
choices | CLIENT |
The type of favorites to delete. |
Source
Defined in artifacts/definitions/Server/Utils/DeleteFavoriteFlow.yaml.
name: Server.Utils.DeleteFavoriteFlow
description: |
Removes a specific named favorite collection spec from the current
user's saved templates.
It allows the user to delete a previously saved favorite. It will
only affect the current user.
parameters:
- name: Name
description: A name for this collection template
- name: Type
description: The type of favorites to delete.
type: choices
default: CLIENT
choices:
- CLIENT
- SERVER
- CLIENT_EVENT
- SERVER_EVENT
sources:
- query: |
SELECT favorites_delete(name=Name, type=Type)
FROM scope()