{"id":50344591,"url":"https://github.com/timescale/delete-service","last_synced_at":"2026-05-29T19:01:57.117Z","repository":{"id":319089095,"uuid":"1077523106","full_name":"timescale/delete-service","owner":"timescale","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-09T05:29:50.000Z","size":1404,"stargazers_count":22,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T15:38:37.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/timescale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-16T11:16:16.000Z","updated_at":"2025-11-12T19:38:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"36e36a28-9cfa-443c-b2d6-011d9f38843e","html_url":"https://github.com/timescale/delete-service","commit_stats":null,"previous_names":["timescale/delete-service"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/timescale/delete-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdelete-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdelete-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdelete-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdelete-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timescale","download_url":"https://codeload.github.com/timescale/delete-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdelete-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33666290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-05-29T19:01:56.245Z","updated_at":"2026-05-29T19:01:57.109Z","avatar_url":"https://github.com/timescale.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n\u003cpicture align=center\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.timescale.com/docs/images/tigerdata-gradient-white.svg\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://assets.timescale.com/docs/images/tigerdata-gradient-black.svg\"\u003e\n    \u003cimg alt=\"TigerData logo\" \u003e\n\u003c/picture\u003e\n\nDelete a Tiger Cloud database service\n\n\u003c/div\u003e\n\n## Usage Examples\n\n### Minimal Example\n\n```yaml\n- name: Delete Database Service\n  uses: timescale/delete-service@v1\n  with:\n    project_id: your-project-id\n    service_id: your-service-id\n    api_key: ${{ secrets.TIGERDATA_API_KEY }}\n```\n\n## Inputs\n\n| Input        | Required | Description                                          |\n| ------------ | -------- | ---------------------------------------------------- |\n| `project_id` | Yes      | The project ID of your service                       |\n| `service_id` | Yes      | The service ID to delete                             |\n| `api_key`    | Yes      | A Tiger Data API key in format `publicKey:secretKey` |\n\n## Important Notes\n\n- **Deletion is permanent**: This action permanently deletes database services.\n  Ensure you have backups if needed.\n\n## Use Cases\n\nThis action is particularly useful for deleting test databases created with the\n`timescale/fork-service` action. A typical workflow could be to create a test\ndatabase when a PR is created, use it to verify requirements manually, and then\ndelete the database when the PR is merged.\n\n## Integration with fork-service\n\nThis action pairs perfectly with\n[timescale/fork-service](https://github.com/timescale/fork-service):\n\n1. Use `fork-service` to create temporary database for testing\n2. Run your tests against the forked database\n3. Use `delete-service` to clean up the temporary database\n\nNote: `fork-service` has a built-in `cleanup: true` option for automatic\ncleanup, but this `delete-service` action gives you more control over when and\nhow deletion happens.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fdelete-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimescale%2Fdelete-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fdelete-service/lists"}