# Public API access is broken

**URL:** <https://discourse.getcockpit.com/t/public-api-access-is-broken/3259>\
**Category:** Support\
**Created:** [September 17, 2025, 7:28pm UTC](https://discourse.getcockpit.com/t/public-api-access-is-broken/3259 "2025-09-17T19:28:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![0bi101](https://avatars.discourse-cdn.com/v4/letter/0/bb73d2/32.png) [@0bi101](https://discourse.getcockpit.com/u/0bi101)\
**Post date:** [September 17, 2025, 7:28pm UTC](https://discourse.getcockpit.com/t/public-api-access-is-broken/3259/1 "2025-09-17T19:28:25Z")

</div>

Just want to state that the whole Public API access thing inside of Cockpit is completely broken. Maybe this was working in past versions but it is not at the moment.

So in your documentation you state the following:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/2X/6/6a3211de28c84aad35edf1321e98990a2f9184f7.png)

But it is literally impossible to reach step 9. At step 8, where I am supposed to select the role for my public access, it does not select it and let me save. When I click on the role I want to select it just automatically goes into the role editor, which is pointless because even if I update the role from there it still does not give me an option to select it for my public API access. It’s so damn annoying that I can’t even do something as simple as this.

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [September 24, 2025, 4:18pm UTC](https://discourse.getcockpit.com/t/public-api-access-is-broken/3259/2 "2025-09-24T16:18:32Z")

</div>

Sorry, but can’t verify. 🤔

---

<div class="post-metadata">

**Author:** ![Barcsix](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/barcsix/32/1527_2.png) [@Barcsix](https://discourse.getcockpit.com/u/Barcsix)\
**Post date:** [October 28, 2025, 10:45am UTC](https://discourse.getcockpit.com/t/public-api-access-is-broken/3259/3 "2025-10-28T10:45:07Z")

</div>

Hello,

I’m a bit late, but it’s just a UX problem, not really a bug.

When you are at the 8th step, do as it is mentioned : "Click _No role set_”. Do not click on the button at the right of the line as it will indeed send you to the Role creation page. Instead click at the left of this line on “No role set”, so it will open the options selector to choose a role for the API key.

---

<div class="post-metadata">

**Author:** ![0bi101](https://avatars.discourse-cdn.com/v4/letter/0/bb73d2/32.png) [@0bi101](https://discourse.getcockpit.com/u/0bi101)\
**Post date:** [October 30, 2025, 12:41am UTC](https://discourse.getcockpit.com/t/public-api-access-is-broken/3259/4 "2025-10-30T00:41:30Z")

</div>

Omg that was it haha. Now I feel dumb. But the UX is really counter productive here and goes against the normal flow of what you’d expect here. Thank you for your reply
