We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64704ae commit 60e8bd3Copy full SHA for 60e8bd3
auth/src/main/java/DeleteApiKey.java
@@ -51,7 +51,7 @@ public static void deleteApiKey(String projectId, String apiKeyId)
51
52
// Initialize the delete request and set the argument.
53
DeleteKeyRequest deleteKeyRequest = DeleteKeyRequest.newBuilder()
54
- .setName(String.format("project/%s/locations/global/keys/%s", projectId, apiKeyId))
+ .setName(String.format("projects/%s/locations/global/keys/%s", projectId, apiKeyId))
55
.build();
56
57
// Make the request and wait for the operation to complete.
0 commit comments