This documentation and the Cisco Observability Platform functionalities it describes are subject to change. Data saved on the platform may disappear and APIs may change without notice.
Delete a Knowledge Object
To delete a knowledge object, you need to provide its object ID. The object ID can be obtained by using the fsoc knowledge get command.
To delete a knowledge object, run the following command:
fsoc knowledge delete --type <fully-qualified-typename>
--object-id <object-id>
--layer-type <ACCOUNT|GLOBALUSER|TENANT|LOCALUSER>
--layer-id <layer-id>
Limitation: The ACCOUNT and GLOBALUSER layers are not currently supported.
The following table describes the attributes used in the command:
| Attribute | Data Type | Description |
|---|---|---|
--layer-id |
String | The layer-id of the knowledge object to delete. Optional for TENANT and SOLUTION layers. |
--layer-type |
String | The layer-type of the knowledge object to delete. |
--object-id |
String | The ID of the knowledge object to delete. |
--type |
String | The fully qualified type name of the knowledge object to delete. |