Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method not allowed using the API to get a key by id #1471

Closed
jadolg opened this issue Jan 9, 2024 · 2 comments
Closed

Method not allowed using the API to get a key by id #1471

jadolg opened this issue Jan 9, 2024 · 2 comments
Labels
api Related to the REST API feature request New feature or request server

Comments

@jadolg
Copy link

jadolg commented Jan 9, 2024

How to reproduce:

  • Create a new key and get it's ID
  • Try to get a key by its ID
    GET {API_URL}/access-keys/{KEY_ID}

Current behavior

The API responds with status code 405

Expected behavior

The API responds status code 200 and the key Object

More details

The response indicates that only the DELETE method is allowed

@murka
Copy link
Contributor

murka commented Jan 11, 2024

Hi, right now this method is released, but outline-server version with this method is not yet.

@jyyi1 jyyi1 added server api Related to the REST API feature request New feature or request labels Jan 22, 2024
@jadolg
Copy link
Author

jadolg commented Feb 5, 2024

Closing because the method is already in the latest version. Thank you all 🥳

@jadolg jadolg closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to the REST API feature request New feature or request server
Projects
None yet
Development

No branches or pull requests

3 participants