Method: projects.locations.apis.versions.specs.delete

Delete a spec. Deleting a spec will also delete the associated operations from the version.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the spec to delete. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:


IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.specs.delete

For more information, see the IAM documentation.