Skip to content

Patch a Mail2Fax user

Request

Patch (update) a Mail2Fax user

Security
http-basic-auth
Path
userstringrequired

The users email address

Example:john.smith@retarus.com
Bodyapplication/json-patch+jsonrequired

A json patch object according to RFC 6902

Array [
opstringrequired

The operation to be performed

Enum:"add""remove""replace""move""copy""test"
pathstringrequired

A JSON-Pointer

valueobject

The value to be used within the operations.

fromstring

A string containing a JSON Pointer value.

]
curl -i -X PATCH \
  -u '<username>:<password>' \
  https://developers.retarus.com/_mock/fax/fax-config-api/outbound/users/john.smith@retarus.com \
  -H 'Content-Type: application/json-patch+json' \
  -d '[
    {
      "path": "/fax",
      "value": {
        "costCenter": "Retarus-Sales-USA"
      },
      "op": "add"
    }
  ]'

Responses

Mail2Fax user updated

Response
No content