400 — crop client-side before uploading (Horizon offers auto-crop).500 is returned, so a caller never receives a filename that nothing references.POST and PUT are equivalent here — both create or replace.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/domains/example.com/users/1000/avatar' \
--header 'Authorization: Bearer <token>' \
--form 'file=@""'{
"filename": "string",
"user": "1000",
"domain": "example.com",
"filetype": "string",
"filesize-large-bytes": 0,
"filesize-small-bytes": 0,
"path": "string",
"path-small": "string",
"path-large": "string",
"file-modified-for-limits": "string"
}