- [HTTP request](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#body.request_body)
- [Response body](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/agent-registry/reference/rest/v1/projects.locations.skills/delete.md.txt#try-it)

Deletes a Skill container along with all its revisions.

### HTTP request

`DELETE https://agentregistry.googleapis.com/v1/{name=projects/*/locations/*/skills/*}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Target Skill container name to remove. |

### Query parameters

| Parameters ||
|---|---|
| `requestId` | `string` Optional. Signed UUID request idempotency token. |
| `force` | `boolean` Optional. If set to true, any child SkillRevisions under this Skill will also be deleted. Otherwise, the request will only succeed if the Skill has no child SkillRevisions. |

### Request body

The request body must be empty.

### Response body

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

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `https://www.googleapis.com/auth/cloud-platform.read-only`
- `https://www.googleapis.com/auth/agentregistry.read-write`
- `https://www.googleapis.com/auth/agentregistry.read-only`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:

- `agentregistry.skills.delete`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).