CRUD Operations
CRUD (Create Retrieve Update Delete) operations are one type of request supported by the Administrator REST API. CRUD operations are executed using different HTTP methods.
The following table identifies the HTTP method and the related CRUD operation.
Method | Operation |
GET | Retrieves one or more resources |
POST | Creates a new resource with the details sent in the request. |
PUT | Replaces the resource with the details sent in the request. |
PATCH | Updates a resource by replacing the fields provided in the body of the request. |
DELETE | Deletes a resource. |
Note:
Not all HTTP methods are available for every resource. For information about which methods are available for a resource, review the API descriptions in the OpenAPI 3.0 document for the Administrator API. All resources support the HEAD and OPTIONS methods.