API Endpoint: File Group

A FileGroup is a container for storing files you wish to deploy to devices via Remote Management.


GET

/api/filegroup - get all file groups on account

/api/filegroup/1 - get filegroup with id of 1


POST

/api/filegroup - create file group, include json in the request body as per below:

{\"name\":\"My File Group\"}


PATCH

/api/filegroup/1 - patch (update) filegroup with id of 1

When using PATCH only the supplied values are updated. If for example you supply no value for the file group name, it will not change within remote management. Include json in the request body as per examples below:

Propertiesname (string), deploychanges (bool)

Update all properties:
{\"name\":\"My File Group\",\"deploychanges\":true}
Update name only:
{\"name\":\"My File Group\"}
Force deployment of files to all associated profiles:
{\"deploychanges\":true}

When the Url is changed, the change is automatically pushed to the device.

Is this article helpful for you?