site/logo.png (DELETE)
Overview
Remove the site logo
- REST Method: DELETE
- Method Access: internal
Query Parameters
Name | Type | Description |
authenticate | bool? | Force authentication for request (default: false) |
Message Format
None
Implementation Notes
The system defaults to the MindTouch logo when the site logo is removed. You can also make this call to DELETE:site/logo
C# Code Sample: Reset Site Logo
The following code example deletes the site logo:
Sample Code
Plug p = Plug.New("http://deki-hayes/@api/deki"); p.At("users", "authenticate").WithCredentials("admin", "password").Get(); p.At("site", "logo").Delete();
Implementation notes
Add notes about requirements or config values
Curl Code Sample: Reset Site Logo
The following command resets the site logo to the mindtouch logo:
Sample Code
curl -u admin:password -X DELETE -i http://mindtouch.address/@api/deki/site/logo
Implementation notes
curl flags
- -u
- Provides external user authentication.
- -X
- Specifies the HTTP request method.
- -i
- Outputs the HTTP response headers. Useful for debugging.
Permissions
- ADMIN permission is required to execute above command.