action threatjammer_change_status_of_the_allowlist_v1_allowlist_public_allowlist_id { label: "Toogle the status of an allow list." description: "### What\nChange the status of an allow list to ``ACTIVE`` or ``INACTIVE``. An ``INACTIVE`` list will not be used by the service. An ``ACTIVE`` list will be used by the service. As an optional parameter it can be provided an ``expiry`` date in seconds since epoch. If not provided, the list will never expire.\n\n This is an asynchronous operation. It can take several seconds until the operation completes, but the request will immediately return a 202 Accepted response.\n\n### Parameters\nIn the query string the ID of the allow list to change the status.\nIn the body the JSON object with the following fields:\n- ``status``: The status of the list. It can be ``ACTIVE`` or ``INACTIVE``.\n- ``expiry``: Unix timestamp in seconds when the list will expire. If it does not exist, it will never expire.\n\n### Result\nIt should always return a 202 Accepted response with an empty body.\n\n### Errors\n\nIf the list does not exist, it will return a 404 error.\nIf the status is not ``ACTIVE`` or ``INACTIVE``, it will return a 422 error.\nIf the expiry is not a valid timestamp, it will return a 422 error.\nIf the allow list is not a valid UUID, it will return a 422 error.\n\nIt will return the API Global errors described in the API description." provider: threatjammer method: PUT path: "/v1/allowlist/public/{allowlist_id}" encoding: json input: { type: "object" properties: { allowlist_id: { type: "string" format: "uuid" } status: { type: "string" description: "The status of the list. ACTIVE or INACTIVE" enum: ["ACTIVE", "INACTIVE"] } } required: ["allowlist_id", "status"] additionalProperties: false } output: { type: "object" } }