Projects.hmacKeys: delete

Deletes an HMAC key. Try it now.

The authenticated user must have storage.hmacKeys.delete permission for the project in which the key exists.

For general information about HMAC keys in Cloud Storage, see HMAC Keys.

Request

HTTP request

DELETE https://storage.googleapis.com/storage/v1/projects/projectId/hmacKeys/accessId

In addition to standard query parameters, the following query parameters apply to this method.

To see an example of how to include query parameters in a request, see the JSON API Overview page.

Parameters

Parameter name Value Description
Path parameters
accessId string The access ID of the HMAC key to be deleted.
projectId string The project ID of the project that owns the service account of the specified HMAC key.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.