N
Novu•5mo ago
Prathap Belli

How can we get newly created organizations api key using novu api.

now we have organizations apis to create and update, but get api doesnt provide api key details as it's associated with environment and now get v1/environments restricted to get current organization env not all.
6 Replies
Pawan Jain
Pawan Jain•5mo ago
@prathap would you like to share the use case ?
Prathap Belli
Prathap Belli•5mo ago
let me explain, by the way there no dedicated section in docs to explain about organizations. Correct me if i am wrong, organizations apis are used to create multiple organization nothing but new schema, we need go to UI left down corner edit existing org name and save new, no one going to easily find that tricky part😀 . now we have api , When we are onboarding new tenant we can automate creating new organization and workflows and provider using apis. We create new v1/organization using existing on organization api key. once new organization created we need to access that organization related things only by the newly created apikey. we need copy api key manually from UI and use it in code, this v1/organizations returning basic details not corresponding env or apikeys which looks no use. not sure but I believe previously we are able to list all environments and api keys of which current org admin has access to , for your reference is this PR affects any changes in this feature https://github.com/novuhq/novu/pull/3640 ?
Pawan Jain
Pawan Jain•5mo ago
>> There no dedicated section in docs to explain organizations We have explained organizations in docs in this section https://docs.novu.co/getting-started/concepts#organization But I agree we should have a dedicated page for this similar to environments >> we need go to UI left down corner edit existing org name and save new, no one going to easily find that tricky part Thanks for sharing the issue in finding out about organizations. I will share this with our product team >> Organization access api automation We are planning to implement this fully with RBAC features.
Linear
Linear•5mo ago
Prathap Belli
Prathap Belli•5mo ago
do we have card for the above organization apikey feature enhancement aslo?
Pawan Jain
Pawan Jain•5mo ago
Yeah it is part of RBAC feature
Want results from more Discord servers?
Add your server
More Posts