---
updatedAt: 2026-07-06T15:32:15.000Z
agentTools:
  projectIndex: https://docs.umbrellacost.io/llms.txt
---

# POST Recommendation Preferences

Use this request to update Recommendation Preference or to Enable/Disable recommendation type

To you update a preference, perform the following steps:

* GET the preference complete object
  * See the [GET preferences](https://docs.umbrellacost.io/reference/get_api-v1-users-preferences) response example
* Perform your updates to the relevant fields
* Use the entire updated object in the POST request
* Note the updated entry is encapsulated in an array

To Enable/Disable this recommendation type:

* Change the "enabled" field to true/false

<br />

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Preferences Public API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://api.umbrellacost.io"
    }
  ],
  "paths": {
    "/api/v2/preferences/bulk": {
      "post": {
        "tags": [
          "default"
        ],
        "summary": "POST Recommendation Preferences",
        "description": "Use this request to update Recommendation Preference or to Enable/Disable recommendation type",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "example": [
                  {
                    "updateTime": "2024-08-01 09:27:39",
                    "dbUpdateTime": "2024-08-01 09:27:39",
                    "createdBy": "elisha+1@anodot.com",
                    "preferenceKey": "version-upgrade",
                    "divisionId": "0",
                    "preferences": {
                      "excludeGraviton": true,
                      "excludeInstanceTypes": [
                        "a1.medium"
                      ],
                      "minCreationDays": 3,
                      "samePhysicalProcessorOnly": true,
                      "sameStorageType": true,
                      "allowLowerNetworkPerformance": false,
                      "enabled": true
                    },
                    "accountKey": "9350",
                    "userKey": "0a8fa9fe-7293-4b94-892c-e9964aee5cb9",
                    "preferenceType": "recommendation",
                    "accountId": "932213950603",
                    "uuid": "b612e686-256b-48f1-b376-bb813af207ab",
                    "preferencesTooltips": {
                      "excludeInstanceTypes": {
                        "info": "Exclude specific instance types from recommendations. These types will not appear in recommended options."
                      },
                      "enabled": {
                        "info": "Unchecking this will disable this recommendation type. New recommendations of this type will not be created. Existing open recommendations will be deleted."
                      }
                    },
                    "formattedTitle": "EC2 Generation Upgrade",
                    "updated": 1
                  }
                ]
              },
              "examples": {
                "Post Example": {
                  "summary": "Post Example",
                  "value": [
                    {
                      "updateTime": "2024-08-01 09:27:39",
                      "dbUpdateTime": "2024-08-01 09:27:39",
                      "createdBy": "test@umbrellacost.com",
                      "preferenceKey": "version-upgrade",
                      "divisionId": "0",
                      "preferences": {
                        "excludeGraviton": true,
                        "excludeInstanceTypes": [
                          "a1.medium"
                        ],
                        "minCreationDays": 4,
                        "samePhysicalProcessorOnly": true,
                        "sameStorageType": true,
                        "allowLowerNetworkPerformance": false,
                        "enabled": true
                      },
                      "accountKey": "9350",
                      "userKey": "000000fe-7293-4b94-892c-e9964aee5cb9",
                      "preferenceType": "recommendation",
                      "accountId": "123413950603",
                      "uuid": "00000686-256b-48f1-b376-bb813af207ab",
                      "preferencesTooltips": {
                        "excludeInstanceTypes": {
                          "info": "Exclude specific instance types from recommendations. These types will not appear in recommended options."
                        },
                        "enabled": {
                          "info": "Unchecking this will disable this recommendation type. New recommendations of this type will not be created. Existing open recommendations will be deleted."
                        }
                      },
                      "updated": 1
                    }
                  ]
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "apikey",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "header",
            "name": "Authorization",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```