[[["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 attestor using a PUT HTTP request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe URL utilizes gRPC Transcoding syntax and requires a path parameter, \u003ccode\u003eattestor.name\u003c/code\u003e, which cannot be updated and is formatted as \u003ccode\u003eprojects/*/attestors/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of \u003ccode\u003eAttestor\u003c/code\u003e, and if the update is successful, the response body will also contain an \u003ccode\u003eAttestor\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe update 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 \u003ccode\u003eattestor\u003c/code\u003e does not exist, the response will be \u003ccode\u003eNOT_FOUND\u003c/code\u003e.\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/v1beta1/{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/)."]]