dots.v2.registry.byRegistry_name().repositories.byRepository_name().digests.byManifest_digest().delete()

Generated on 13 Nov 2026 from DoTs version v1.24.0

deprecated

Usage

client.v2.registry.byRegistry_name(registry_name).repositories.byRepository_name(repository_name).digests.byManifest_digest(manifest_digest).delete(requestConfiguration?: RequestConfiguration<object>): Promise<void>

Description

Note: This endpoint is deprecated. Please use the /v2/registries endpoint instead.

To delete a container repository manifest by digest, send a DELETE request to /v2/registry/{registry_name}/repositories/{repository_name}/digests/{manifest_digest}.

Note that if your repository name contains / characters, it must be URL-encoded in the request URL. For example, to delete registry.digitalocean.com/example/my/repo@sha256:abcd, the path would be /v2/registry/example/repositories/my%2Frepo/digests/sha256:abcd.

A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.

Parameters

registry_name string required

Example: example

The name of a container registry.

repository_name string required

Example: repo-1

The name of a container registry repository. If the name contains / characters, they must be URL-encoded, e.g. %2F.

manifest_digest string required

Example: sha256:cb8a924afdf0229ef7515d9e5b3024e23b3eb03ddbba287f4a19c6ac90b8d221

The manifest digest of a container registry repository tag.

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

await client.v2.registry
    .byRegistry_name("example").repositories
    .byRepository_name("repo-1").digests
    .byManifest_digest("sha256:cb8a924afdf0229ef7515d9e5b3024e23b3eb03ddbba287f4a19c6ac90b8d221").delete();

More Information

See /v2/registry/{registry_name}/repositories/{repository_name}/digests/{manifest_digest} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.