capabilities.work

Change a repo's visibility or gating

One step with Hugging Face. We can help you get access.

Get something done

Change a repo's visibility or gating

Use Hugging Face: its Hugging Face Hub Repos API lets you change a repo's visibility or gating in a single step (PUT /repos/{repo_type}/{repo_id}/settings). capabilities.work can help you get signed up and connected.

  • Can I switch an existing repository from public to private?
  • Is there a way to require users to request access to a model before downloading it?
Say it to your AI assistant
  • Make {repo_type} repo {repo_id} private={private}.
  • Set access gating on {repo_type} {repo_id} to {gated}.
For your developer

PUT /repos/{repo_type}/{repo_id}/settings in Hugging Face Hub Repos API. Full spec on APIs.io.