flagsmith
flagsmith copied to clipboard
Don't return or request the API key Id
How are you running Flagsmith
- [X] Self Hosted with Docker
- [ ] Self Hosted with Kubernetes
- [x] SaaS at flagsmith.com
- [ ] Some other way (add details in description below)
Describe the bug
API key ID should not be returned or used in certain endpoints, for example:
POST: /api/v1/organisations/{organisation_pk}/roles/{role_pk}/master-api-keys/
GET: /api/v1/organisations/{organisation_pk}/master-api-keys/{api_key_prefix}/roles/
Steps To Reproduce
- Navigate to the API keys tab on the organisation settings page.
- Generate a new API key.
- View the response in the network panel.
Expected behavior
We should be able to make requests without needing the ID.
Screenshots
No response