POST /api/setup-keys Create a Setup Key: "revoked" field doesnt affect anything #1116

Closed
opened 2025-11-20 05:24:20 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @alexcupertme on GitHub (Jul 30, 2024).

Describe the problem

When creating new setup key, "revoked" field doesn't do anything
To Reproduce

Steps to reproduce the behavior:

  1. Make an API request POST /api/setup-keys with payload
{
  "name": "Default key",
  "type": "reusable",
  "expires_in": 86400,
  "revoked": true,
  "usage_limit": 1,
  "ephemeral": false
}

Expected behavior

At least, setup key should be revoked, but it is really strange feature. Or remove that field

Are you using NetBird Cloud?

No

NetBird version

CLI ver 0.28.6
netbirdio/management latest 089367492c59
netbirdio/signal latest 4cb11eea59d8
netbirdio/dashboard latest 422e7e788e47

NetBird status -d output:

Screenshots

Additional context

Originally created by @alexcupertme on GitHub (Jul 30, 2024). **Describe the problem** When creating new setup key, "revoked" field doesn't do anything **To Reproduce** Steps to reproduce the behavior: 1. Make an API request POST /api/setup-keys with payload ``` { "name": "Default key", "type": "reusable", "expires_in": 86400, "revoked": true, "usage_limit": 1, "ephemeral": false } ``` **Expected behavior** At least, setup key should be revoked, but it is really strange feature. Or remove that field **Are you using NetBird Cloud?** No **NetBird version** CLI ver 0.28.6 netbirdio/management latest 089367492c59 netbirdio/signal latest 4cb11eea59d8 netbirdio/dashboard latest 422e7e788e47 **NetBird status -d output:** - **Screenshots** - **Additional context** -
saavagebueno added the management-serviceapi labels 2025-11-20 05:24:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1116