Hi,
I’m trying to set my projects’ logos using the REST API. This PowerShell call succeeds, but just resets the project’s logo to the default:
Invoke-RestMethod -Method POST `
-Uri http://$myOctopusServer/api/projects/$myProjectId/logo `
-Headers @{ "X-Octopus-ApiKey" = $apikey } `
-InFile $myFile `
-ContentType "multipart/form-data"
I couldn’t find any more info or details about the /logo
request in the API wiki: https://github.com/OctopusDeploy/OctopusDeploy-Api/wiki
What am I missing here?
Thanks for your help!
Martin.