{"id":14991030,"url":"https://github.com/s5no5t/contentful-clean-space","last_synced_at":"2026-05-06T01:01:33.532Z","repository":{"id":29236457,"uuid":"116690657","full_name":"s5no5t/contentful-clean-space","owner":"s5no5t","description":"Delete all entries and content types from a contentful space","archived":false,"fork":false,"pushed_at":"2024-01-10T10:23:43.000Z","size":208,"stargazers_count":55,"open_issues_count":6,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T23:57:07.014Z","etag":null,"topics":["contentful"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s5no5t.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-08T15:01:14.000Z","updated_at":"2024-08-07T00:22:25.000Z","dependencies_parsed_at":"2024-06-19T00:21:02.220Z","dependency_job_id":"224c47f5-f734-4d91-a2fc-8c7879d3771b","html_url":"https://github.com/s5no5t/contentful-clean-space","commit_stats":null,"previous_names":["s5no5t/contentful-clean-space","jugglingthebits/contentful-clean-space"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/s5no5t/contentful-clean-space","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5no5t%2Fcontentful-clean-space","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5no5t%2Fcontentful-clean-space/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5no5t%2Fcontentful-clean-space/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5no5t%2Fcontentful-clean-space/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s5no5t","download_url":"https://codeload.github.com/s5no5t/contentful-clean-space/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5no5t%2Fcontentful-clean-space/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32674023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contentful"],"created_at":"2024-09-24T14:21:20.761Z","updated_at":"2026-05-06T01:01:33.484Z","avatar_url":"https://github.com/s5no5t.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# contentful-clean-space\n\nDelete all entries from a contentful space.\n\n[Contentful CLI](https://github.com/contentful/contentful-cli) doesn't have a command to delete all entries from a space without deleting the space itself. However, this can be very useful, e.g. for user contract testing.\n\n## Installation\n\nUsing npm:\n\n```\nnpm install -g contentful-clean-space\n```\n\n## Usage\n\n```\ncontentful-clean-space\nOptions:\n      --help           Show help                                       [boolean]\n      --space-id       Contentful space id                   [string] [required]\n      --env            Contentful environment                [string] [required]\n      --accesstoken    Contentful access token               [string] [required]\n      --batch-size     Number of parallel contentful requests\n                                                           [number] [default: 5]\n      --content-types  Delete content types as well   [boolean] [default: false]\n      --assets         Delete assets as well          [boolean] [default: false]\n  -y, --yes            Auto-confirm delete prompt     [boolean] [default: false]\n  -v, --verbose                                       [boolean] [default: false]\n```\n\nAll parameters can be provided from environment variables, too. To do that, just set an environment variable using UPPER_CASE casing.\n\n## Example Usage\n\nTo delete all entries, content types, as well as assets in the \"master\" environment, and without the safety prompt, use `contentful-clean-space --space-id [space id] --accesstoken [personal access token] --content-types=true --assets=true --env master --yes=true`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs5no5t%2Fcontentful-clean-space","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs5no5t%2Fcontentful-clean-space","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs5no5t%2Fcontentful-clean-space/lists"}