Replaces the file of an image already stored under the name in the path. Send the new file as base64 in a JSON body, or as a multipart part.Requires Super User or Reseller scope. A Reseller can manage images stored for its own reseller or for a domain in it. An image that applies to every reseller and every domain (reseller and domain both *) is platform-wide, and only a Super User can create, change, or delete it. Other scopes get 403.An image is stored per reseller, domain, and server, and each defaults to *, meaning all. The values are matched exactly: an image stored for every domain is not found when you name one domain. Name the same reseller, domain, and server the image was created with. Every update must carry a file; description cannot be changed on its own. An email template stored under the same name cannot be replaced here.The file must be a PNG, JPEG, GIF, WebP, or ICO image. Both the declared media type and the file's contents are checked, and the type detected from the contents is the one stored. SVG and other types return 400.Send reseller and domain in the body; query-string values for them are ignored. The request returns 202: the change is accepted and applied shortly after.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.