Update a Resource
Performing non CRUD operations is achieved by sending a PUT request to a resource URI. The operation name will appear at the end of the URI. The request content depends on the operation. The request header holds the encrypted authorization and the content-type which defines the resource content and its version. For example, 'register' or 'deregister' of an endpoint, and 'resetPassword' , 'email', 'sms' of a guest user.Operation flow main charasteristics:
Description | Execute an operation on a resource or resources |
---|---|
Synopsis | PUT /ers/config/{resource type}/{resource-id **optional}/{operation-name} |
Request Headers | CONTENT-TYPE, AUTHORIZATION |
Request Message Body | depends on the operation |
Response Headers | Content-Length, Content-Type |
Response Message Body | Depends on the operation |
Response Status | 200, 204, 400, 401, 403, 415, 500 |