Fluxir DocsFluxir Docs

Upload a tenant logo

Uploads a logo for the specified tenant using multipart form data.

POST/api/app/tenants/logo/{tenantId}

Header Parameters

X-Tenantstring

Tenant ID

Path Parameters

tenantIdstringrequired

Body multipart/form-data

filestring<binary>

Response

OK

idinteger<int64>
fileIdinteger<int64>
fileNamestring

Bad Request

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Unauthorized

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Forbidden

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Found

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Internal Server Error

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Implemented

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]
Request
curl -X POST "https://api.example.com/api/app/tenants/logo/<tenantId>" \
  -H "Content-Type: multipart/form-data" \
  -H "X-Tenant: <X-Tenant>" \
  -d '{
  "file": "string"
}'
Response
{
  "id": 0,
  "fileId": 0,
  "fileName": "string"
}