JSON API » provisioning » provisioning/files/update
Regenerates any provisioning files stored on the server (for example, to be served via TFTP) for a given telephone line.
Input parameters
Requires authentication and the administrator role privilege.
Name | Type | Description | Required | Default value |
---|---|---|---|---|
auth_username | String | Authentication username. | Yes | |
auth_password | String | Authentication password. | Yes | |
phone | String | Telephone line to update. | Yes |
Responses
Code | Description |
---|---|
204 | Success. |
400 | Invalid telephone line specified. |
401 | The authentication details provided are invalid. |
402 | Your role does not allow this. |
Data returned
No data is returned.
Example: With required parameters
http://enswitch.example.com/api/json/provisioning/files/update/?auth_username=user;auth_password=password;phone=1234567{ "responses":[ { "code":"200", "key":"", "message":"OK" } ] }
Change history
Version | Changes |
---|---|
3.13 | Function added. |