Delete a custom code file - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service allows ADMIN users to delete files from the Custom code library.

PORTAL_ADMIN users can use this web service if the Custom code Security toggle is inactive.

Method Endpoint
DELETE
/api/admin/portal/custom-code/{filePath}
Path parameter Type Description
{filePath} String The file's identifier. For example custom.js, or custom.less.

It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.

Examples

DELETE /api/admin/portal/custom-code/custom.js
DELETE /api/admin/portal/custom-code/custom.less

Calling this endpoint to delete a file from the /public file system causes an error message.