action threatjammer_update_private_content_of_the_allowlist_of_the_user_v1_allowlist { label: "Add or remove content of a private allowlist of the user." description: "### What\nAdd or remove content of a private allowlist of the user. The content can be CIDRs, ASNs, countries, continents or datacenter IDs.\n\nThe number of elements allowed in all the lists are limited depending on the plan of the user:\n- Free: 100 elements\n- Basic: 1000 elements\n- Premium: 10000 elements\n\n### Parameters\nPass the private allowlist ID as query parameter.\n\nIn the body the following parameters:\n- ``append``: (Optional) Add CIDRs, ASNs, countries, continents or datacenter IDs to add to the list. It's not possible to mix different resource types in the same list.\n- ``remove``: (Optional) Extract CIDRs, ASNs, countries, continents or datacenter IDs to add to the list. It's not possible to mix different resource types in the same list.\n\n\n### Result\nIf successful, it will return a ``202`` (Accepted) response with an empty body. The operation is asynchronous,and can take several seconds to complete.\n\n### Errors\n\n- If the allow list is not a valid UUID, it will return a ``422`` (Unprocessable Entity) error.\n- If the private allowlist ID does not exist, it will return a ``404`` (Not found) error.\n- If the ``append`` or ``remove`` parameters are not processable, it will return a ``422`` (Unprocessable Entity) error.\n- If the number of elements in the lists is over the limit, it will return a ``413`` (Payload Too Large) error.\n\nIt will also return the API Global errors described in the API description." provider: threatjammer method: PUT path: "/v1/allowlist/private/{allowlist_id}/content" encoding: json input: { type: "object" properties: { allowlist_id: { type: "string" format: "uuid" } append: { type: "array" description: "The name of the resources to append to the allowlist" items: { type: "string" } } remove: { type: "array" description: "The name of the resources to remove from the allowlist" items: { type: "string" } } } required: ["allowlist_id"] additionalProperties: false } output: { type: "object" } }