-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
component: adminAdministration related functionalityAdministration related functionalityenhancementNew feature or requestNew feature or request
Description
Feature Overview
Is your feature request related to a problem? Please describe.
As an admin usher user, I would like to have APIs available to manage tenants.
API Design
| Status | URL | Auth | Params | Notes |
|---|---|---|---|---|
| ✅ | GET /tenants |
bearerAdminAuth | optional: query param | List tenants |
| ✅ | POST /tenants |
bearerAdminAuth | Tenant attributes: body | Create a new tenant |
| TODO | GET /tenants/{key} |
bearerAdminAuth | optional: query param | Get single tenant |
| TODO | PATCH /tenants/{key} |
bearerAdminAuth | Tenant attributes: body | Update existing tenant |
| TODO | DELETE /tenants/{key} |
bearerAdminAuth | Tenant key: path, required | Delete a tenant |
Implementation Notes
- The source files should be placed in the
src/api_endpoints/tenantsfolder.
Questions
- Regarding the PATCH API, besides the tenant key and timestamps, should there be any restrictions on what can be updated for a tenant?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: adminAdministration related functionalityAdministration related functionalityenhancementNew feature or requestNew feature or request