Get Logo
Retrieve the configured logo. By default, logo-main.png is returned.
GET https://instance.securid.com/aveksa/command.submit?cmd=getLogo
note
This command does not require authentication. Any image uploaded via Admin > User Interface > Files can be retrieved using this command.
Request
Parameters
| getLogo | |
| name | The filename of the logo to return. (Default) logo-main.png |
Headers
| Accept | application/json |
| Content-Type | application/json |
Response
The response body contains the binary PNG image. The Content-Type of the response is image/png.
Examples
Request
- Curl
- Python
- Node.js
curl -K -X GET \
"https://instance.securid.com/aveksa/command.submit?cmd=getLogo&name=logo-main.png" \
-o logo-main.png
import requests
url = "https://instance.securid.com/aveksa/command.submit"
params = {
"cmd": "getLogo",
"name": "logo-main.png"
}
response = requests.get(url, params=params)
if response.status_code == 200:
with open('logo-main.png', 'wb') as f:
f.write(response.content)
print("Image saved to 'logo-main.png'")
else:
print(f"Request failed with status code {response.status_code}")
const axios = require('axios');
const fs = require('fs');
const url = "https://instance.securid.com/aveksa/command.submit";
const params = {
cmd: "getLogo",
name: "logo-main.png"
};
axios.get(url, { params, responseType: 'arraybuffer' })
.then(response => {
if (response.status === 200) {
fs.writeFileSync('logo-main.png', response.data);
console.log("Image saved to 'logo-main.png'");
} else {
console.log(`Request failed with status code ${response.status}`);
}
})
.catch(error => {
console.error('Error:', error);
});
Response
- 200
- 412 Logo Not Found
The response body contains the binary PNG image data (Content-Type: image/png).
Returned when the specified name does not match any uploaded file.
<html>
<head>
<title>Error</title>
</head>
<body>Logo named 'doesnotexist.png' could not be found.
Query String=cmd=getLogo&name=doesnotexist.png</body>
</html>
Verified with RSA Governance & Lifecycle version 8.0.0.188886 P10_HF01.