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.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
phoneStringTelephone line to update.Yes

Responses

CodeDescription
204Success.
400Invalid telephone line specified.
401The authentication details provided are invalid.
402Your 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

VersionChanges
3.13Function added.