v1

latestOpenAPI 3.0.32026-07-13351892.0 KB
Registry

DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).

delete/v1/projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

Path parameters

projectstring required

The project id.

locationstring required

The location id.

apistring required

The api id.

versionstring required

The version id.

specstring required

The spec id.

Query parameters

forceboolean

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

Response

OK