Organizations
Manage teams and organizations in Retrace
Organizations
Organizations let you group users, projects, and billing under a single team. Available on the Enterprise plan.
Creating an Organization
curl -X POST https://api.retrace.yashbogam.me/api/v1/organizations \
-H "Authorization: Bearer rt_live_..." \
-H "Content-Type: application/json" \
-d '{"name": "Acme Corp", "slug": "acme-corp"}'The creator is automatically added as the organization owner.
Managing Members
Add a team member:
curl -X POST https://api.retrace.yashbogam.me/api/v1/organizations/:id/members \
-H "Authorization: Bearer rt_live_..." \
-H "Content-Type: application/json" \
-d '{"userId": "user-uuid", "role": "member"}'Roles:
| Role | Permissions |
|---|---|
| owner | Full control, manage members, update org, delete org |
| admin | Manage members and update org settings |
| member | Read-only access to org resources |
Listing Organizations
curl https://api.retrace.yashbogam.me/api/v1/organizations \
-H "Authorization: Bearer rt_live_..."Updating an Organization
curl -X PATCH https://api.retrace.yashbogam.me/api/v1/organizations/:id \
-H "Authorization: Bearer rt_live_..." \
-H "Content-Type: application/json" \
-d '{"name": "New Name"}'Only owners and admins can update organization settings.
[!NOTE] Organizations are available on the Enterprise plan. Contact enterprise@retrace.yashbogam.me to get started.