The following table summarizes the HTTP methods supported for use with JSON format and ZIP format.
Format | Operation | Method | Examples |
---|---|---|---|
JSON | Export |
|
|
Create |
|
| |
Overwrite |
|
PUT overwrites an existing object. Note: To overwrite an object with PUT, you must use a URL that specifies the object. PUT cannot access child objects of the object specified in the URL. For example, to overwrite a
| |
Modify |
|
PATCH modifies an existing object by modifying the values of existing attributes in the object or adding new attributes to the object. Note: To modify an object with PATCH, you must use a URL that specifies the object. PATCH cannot access child objects of the object specified in the URL. For example, to modify a
| |
ZIP | Export |
|
|
Create |
|
| |
Overwrite |
|
| |
n/a | Delete |
| For information, see Delete resources. |
Note the following differences between the HTTP methods that are supported for ZIP format and for JSON format:
JSON format supports two methods that are not supported for ZIP format: PUT and PATCH. These methods cannot be used with ZIP format.
With ZIP format, the POST method creates configuration, overwriting any existing configuration. With JSON format, POST can create but not overwrite; to overwrite configuration in JSON format, use the PUT method.