Fuselage
Unset Asset
Unset an asset by name.
Requires manage-assets permission.
URL
Requires Auth
HTTP Method
/api/v1/assets.unsetAsset
yes
POST

Payload

Argument
Example
Required
Description
assetName
"logo"
Required
Asset naeme to unset.
refreshAllClients
true
Optional
If needs refresh all clients to apply changes immediately.
assetName can be one of these: [logo, background, favicon_ico, favicon, favicon_16, favicon_32, favicon_192, favicon_512, touchicon_180, touchicon_180_pre, tile_70, tile_144, tile_150, tile_310_square, tile_310_wide, safari_pinned ]

Example Call

1
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
2
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
3
http://localhost:3000/api/v1/assets.unsetAsset \
4
-H "Content-Type:application/json" \
5
-d '{ "assetName": "logo", "refreshAllClients": true}'
Copied!

Example Result

1
{
2
"success": true
3
}
Copied!

Change Log

Version
Description
0.69.0
Added
Last modified 2mo ago
Export as PDF
Copy link
Edit on GitHub