Skip to content

Create a tile icon
Stable

Request

Create a tile icon.

Security
apiKey
Path
enterprise_idstringrequired

A UUID string identifying this enterprise.

Bodymultipart/form-datarequired
icon_filestring, (path)required

Valid file to upload

device_modelstringrequired

Device model

enterprisestring, (uuid)required

UUID string representing enterprise of tile icon

cURL
curl -i -X POST \
  'https://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/tile-icons/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F icon_file=string \
  -F device_model=string \
  -F enterprise=796caaf9-a7de-4817-9ffa-39d04bf83de9

Responses

Successful Operation

Bodyapplication/json
idstring, (uuid)
categorystring
icon_filestring, (url)
device_modelstring
customboolean
created_onstring, (date-time)
updated_onstring, (date-time)
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "category": "string", "icon_file": "string", "device_model": "string", "custom": true, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z" }