this post was submitted on 25 Jun 2023
2 points (100.0% liked)

Lemmy Support

4652 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hello, everyone. I managed to set up my instance and started playing around with admin settings. I put an instance in the allowed instances list to figure out how that worked, now I can't undo it. The allowed instance doesn't show up in the field for editing, but it does in the instances page. I can overwrite the allowed instances with others, but I can't completely remove them. I'm at a loss about where to go from here, I would like to remove the allowed list or otherwise restore the ability to federate with all instances. Thanks ๐Ÿ™

I commented a solution

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago

I figured it out after a good night's sleep.

The UI doesn't let you send a request with empty allowed instances, it either sends an array with your picks or no array at all if you selected none. To reset allowed instances you need to send an empty array to the API.

The easiest way to do it is

  • Open browser devtools network tab or equivalent
  • Send a request with at least one allowed instance
  • Edit the request JSON body to empty the array
  • Resend the request

I think Chrome lets you copy the request with authentication to send with something like curl, I used Firefox which lets you edit and resend directly.

Peace โœŒ