This legacy version of AI Platform Data Labeling is deprecated and will no longer be available on Google Cloud after January 23, 2024. All the functionality of legacy AI Platform Data Labeling and new features are available on the Vertex AI platform. See Migrate to Vertex AI to learn how to migrate your resources.

Method: projects.annotationSpecSets.delete

Deletes an annotation spec set by resource name.

HTTP request

DELETE https://datalabeling.googleapis.com/v1beta1/{name=projects/*/annotationSpecSets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. AnnotationSpec resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}.

Authorization requires the following Google IAM permission on the specified resource name:

  • datalabeling.annotationspecsets.delete

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.