Method: services.tenancyUnits.deleteProject

Deletes the specified project resource identified by a tenant resource tag. The mothod removes a project lien with a 'TenantManager' origin if that was added. It will then attempt to delete the project. If that operation fails, this method also fails. After the project has been deleted, the tenant resource state is set to DELETED. To permanently remove resource metadata, call the tenancyUnits.removeProject method. New resources with the same tag can't be added if there are existing resources in a DELETED state. Operation<response: Empty>.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Name of the tenancy unit. Such as 'services/'.

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

  • serviceconsumermanagement.tenancyu.removeResource

Request body

The request body contains data with the following structure:

JSON representation
  "tag": string


Tag of the resource within the tenancy unit.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

Try it!