7.2

Table Of Contents
3 Set the authentication token variable by replacing <Auth Token> with the token string you generated
in the previous step.
Operating System Command
Linux/Mac
export AUTH="Bearer <Auth Token>"
Windows
set AUTH=Bearer <Auth Token>
4 Add the base64 encoded string for the image.
Operating System Command
Linux/Mac
curl https://$VCAC/catalog-service/api/icons --insecure -H
"Accept: application/json" -H 'Content-Type: application/json' -H
"Authorization: $AUTH" --data
'{"id":"cafe_default_icon_genericAllServices","fileName":"<filena
me>","contentType":"image/png","image":"<IMAGE DATA as base64
string>"}'
Windows
curl https://%VCAC%/catalog-service/api/icons --insecure -H
"Accept: application/json" -H "Content-Type: application/json" -H
"Authorization: %AUTH%" --data
"{\"id\":\"cafe_default_icon_genericAllServices\",\"fileName\":\"
<filename>\",\"contentType\":\"image/png\",\"image\":\"<IMAGE
DATA as base64 string>\"}"
The new services icon appears in the service catalog after approximately five minutes.
If you want to revert to the default icon, you can run the following command after you follow steps 1-3..
Operating
System Command
Linux/Mac
curl https://$VCAC/catalog-service/api/icons/cafe_default_icon_genericAllServices --
insecure -H "Authorization: $AUTH" --request DELETE
Windows
curl https://%VCAC%/catalog-service/api/icons/cafe_default_icon_genericAllServices --
insecure -H "Authorization: %AUTH%" --request DELETE
Customize Data Rollover Settings
You can enable and configure vRealize Automation data rollover settings to control how your system
retains, archives, or deletes legacy data.
Use the data rollover feature to configure the maximum number of days for vRealize Automation to retain
data in the IaaS SQL Server database before archiving or deleting it. By default, this feature is disabled.
Configure data rollover settings on the vRealize Automation Global Settings page. When enabled, this
feature queries and removes data from the following SQL Server database tables:
n
UserLog
n
Audit
n
CategoryLog
Managing vRealize Automation
VMware, Inc. 34