github-community-projects / github-community-projects/safe-settings

Documentation Request: How to delete things?

Open
#527 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
921
Forks
226
Avg merge
18h 3m
Merged PRs (30d)
14

Description

Hi, how do we delete resources using safe-settings? I searched the repo and as far as I can find there is no guidance on how to delete repositories or teams. Removing them from the yml files seems to have no effect.

I tried adding a `deleted: true` which seems like it tried to do something because I got a warning:

```
probot_1 | [@octokit/request] "DELETE https://api.github.com/teams//repos//" is deprecated. It is scheduled to be removed on Mon, 01 Feb 2021 00:00:00 GMT. See https://developer.github.com/changes/2020-01-21-moving-the-team-api-endpoints
```

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.