[[["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-05-30 UTC."],[[["\u003cp\u003eThis page details how to update an existing attestor using a PUT request to the Binary Authorization API.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a specific format, \u003ccode\u003eprojects/*/attestors/*\u003c/code\u003e, for the \u003ccode\u003eattestor.name\u003c/code\u003e path parameter, which is a mandatory field.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of an \u003ccode\u003eAttestor\u003c/code\u003e, and the updated \u003ccode\u003eAttestor\u003c/code\u003e is returned in the response body upon successful update.\u003c/p\u003e\n"],["\u003cp\u003eThe operation requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e for authorization.\u003c/p\u003e\n"],["\u003cp\u003eIf the specified attestor does not exist, the API will return a NOT_FOUND error.\u003c/p\u003e\n"]]],[],null,["# Method: projects.attestors.update\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nUpdates an [attestor](/binary-authorization/docs/reference/rest/Shared.Types/Attestor). Returns NOT_FOUND if the [attestor](/binary-authorization/docs/reference/rest/Shared.Types/Attestor) does not exist.\n\n### HTTP request\n\n`PUT https://binaryauthorization.googleapis.com/v1alpha2/{attestor.name=projects/*/attestors/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [Attestor](/binary-authorization/docs/reference/rest/Shared.Types/Attestor).\n\n### Response body\n\nIf successful, the response body contains an instance of [Attestor](/binary-authorization/docs/reference/rest/Shared.Types/Attestor).\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](https://cloud.google.com/docs/authentication/)."]]