MySonicWall API Reference Guide

Supported Request Methods

The MySonicWall API utilizes four of the methods that HTTP protocol (RFC 7231 and RFC 5789) defines to create, read, update and delete (CRUD) resources. Below table describes the supported HTTP methods.

Supported HTTP request methods
HTTP method Description
GET Retrieves the specified resource or collection of resources. GET is a read-only operation that does not alter appliance state or configuration. A GET operation should not contain a request-body.
POST Submits data to be processed by the specified resource or collection of resources. In most cases, MySonicWall APIs uses the POST verb to create and add a resource to a collection of resources (for example, add a new Tenant or create a new user).
PUT Updates the specified resource. The data included in the PUT request-body replaces the previous configuration.
DELETE Deletes the specified resource or collection of resources.