Editing a User
Requires FaxFinder 3.0.4 or higher.
HTTP Request Line |
PUT /ffws/v1/users/USERNAME HTTP/1.1 |
|
HTTP Response Status Codes |
200 OK |
Modified successfully. |
403 Forbidden |
Authenticated user does not have permission to change data. |
|
404 Not Found |
User not found. |
|
400 Bad Request |
The provided XML is not valid. |
Example
PUT /ffws/v1/users/USERNAME HTTP/1.1 content-type: application/xml authorization: Basic YWRtaW46YWRtaW4= <?xml version=”1.0” encoding=”UTF-8”?> <user> <name>Edit User</name> <username>user1</username> <password>user1</password> <email_address>admin@Example.com</email_address> <phone_number>218-555-3333</phone_number> <fax_number>218-555-3334</fax_number> <organization>Example Org</organization> <priority>1</priority> <max_attempts>2</max_attempts> <interval>600</interval> <receipt>never</receipt> <receipt_attachment>none</receipt_attachment> </user> ----------------------------------- HTTP/1.1 200 OK content-type: application/xml <?xml version=”1.0” encoding=”UTF-8”?> <response> <message>Modified</message> </response>