storyblok-cli
storyblok-cli copied to clipboard
Feature: Enable update Space collaborators using the CLI or the Management API
The feature would affect: (check one with "x")
- [ ] app.storyblok.com (CMS - Interface)
- [ ] api.storyblok.com (CMS - Content Delivery API)
- [x] mapi.storyblok.com (CMS - Management API)
- [ ] capi.storyblok.com (Commerce - API)
- [ ] Commerce - Interface
- [ ] Other
Is your feature request related to a problem? No
Describe the solution you'd like
As we don't have a Terraform provider, a would like to be able to manage the Space users using code instead of the console. Some alternatives that came to my mind was to use the storyblock
CLI or through the Management API directly. The documentation shows the collaborators
field in the Spaces object but not lists it as a field able to be updated.
Example:
storyblok spaces add-collaborator --username/-u "[email protected]"
Or have the possibility to send the collaborators
array on a POST or PUT to https://mapi.storyblok.com/v1/spaces/:space_id/
.
Describe alternatives you've considered
- As described in another feature request the possibility to have a Terraform provider for Storyblok.