Chapter 537: deleteSite()
Core Idea
<ExperimentalBadge> <p> Cloud Run is in <a href="/docs/cloudrun/status">Alpha status and not actively being developed.
Key Concepts
- Example
- Arguments
- bucketName
- siteName
- Return value
- See also
Code Examples
const region: GcpRegion = 'australia-southeast1';
const {sites} = await getSites(region);
for (const site of sites) {
await deleteSite({
bucketName: site.bucketName,
siteName: site.id,
});
console.log(`Site ${site.id} deleted.`);
}
- What it demonstrates: Usage pattern for deleteSite() from the official docs.
Key Takeaways
- Understand example when working with deleteSite().
- Understand arguments when working with deleteSite().
- Understand bucketname when working with deleteSite().
- Understand sitename when working with deleteSite().
- Understand return value when working with deleteSite().
Connects To
- api: related page in the Cloud Run (@remotion/cloudrun) section.
- Checklist: related page in the Cloud Run (@remotion/cloudrun) section.
- cli: related page in the Cloud Run (@remotion/cloudrun) section.