Skip to content

Upload a thumbnail pic
Stable

Request

Upload an image to represent the group in Devices & Groups.

Security
apiKey
Path
enterprise_idstring, (uuid)required

Enterprise ID

Bodymultipart/form-datarequired
image_filestring, (binary)
cURL
curl -i -X POST \
  'https://develop-api.esper.io/_mock/openapi/enterprise/{enterprise_id}/devicegroup/thumbnail/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F image_file=string

Responses

Thumbnail

Bodyapplication/json
idstring, (uuid)read-only
image_filestringread-only
thumbnail_urlstringread-only
created_onstring, (date-time)read-only
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "image_file": "string", "thumbnail_url": "string", "created_on": "2019-08-24T14:15:22Z" }