[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis API endpoint updates the state of an Ioc (Indicator of Compromise) resource identified by its full name, which follows the format \u003ccode\u003eprojects/{project_id}/locations/{region}/instances/{instance}/iocs/{ioc}/iocState\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses the HTTP \u003ccode\u003ePATCH\u003c/code\u003e method and requires specifying the Ioc state's full name in the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request body contains the updated \u003ccode\u003eIocState\u003c/code\u003e data, and optionally, a \u003ccode\u003eupdateMask\u003c/code\u003e query parameter can be used to specify which fields to update.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return an instance of \u003ccode\u003eIocState\u003c/code\u003e in the response body.\u003c/p\u003e\n"],["\u003cp\u003eUpdating the Ioc state requires OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003echronicle.iocState.update\u003c/code\u003e on the specified resource.\u003c/p\u003e\n"]]],[],null,["# Method: iocs.updateIocState\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.iocs.updateIocState\n\nUpdate an Ioc state.\n\n### HTTP request\n\nChoose a location: \nafrica-south1 asia-northeast1 asia-south1 asia-southeast1 asia-southeast2 australia-southeast1 europe-west12 europe-west2 europe-west3 europe-west6 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast2 southamerica-east1 us eu \n\n\u003cbr /\u003e\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [IocState](/chronicle/docs/reference/rest/v1alpha/IocState).\n\n### Response body\n\nIf successful, the response body contains an instance of [IocState](/chronicle/docs/reference/rest/v1alpha/IocState).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `chronicle.iocState.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]