🚫
Internal use only!
An org represents a company, team, workspace, or any other organization within which you will create your AI assets.
Create Org
POST /api/orgs
This endpoint creates a new org and makes the current user the owner of the org.
curl https://management-api.useproteus.ai/api/orgs \
-X POST \
-H "Authorization: Bearer user-3a4d80a9c3cca7ffd1bc341f.ede04d00e4b168bed35d9fcde8c2f92f.00d7fecf89201691f94b01e5b294da65.e7ea4c191b2c9a059ce5658deb7349c26a931ed8b7a04bf0" \
-d '{ "name": "My First Org" }'
Update Org
PUT /api/orgs/:orgId
This endpoint updates an org.
curl https://management-api.useproteus.ai/api/orgs/6816330b6f46b5afc080fbf7 \
-X PUT \
-H "Authorization: Bearer user-3a4d80a9c3cca7ffd1bc341f.ede04d00e4b168bed35d9fcde8c2f92f.00d7fecf89201691f94b01e5b294da65.e7ea4c191b2c9a059ce5658deb7349c26a931ed8b7a04bf0" \
-d '{ "name": "My Updated Org", "description": "My first org" }'
The current user must be a member of the org with a role of OWNER
.
curl https://management-api.useproteus.ai/api/orgs/6816330b6f46b5afc080fbf8 \
-X PUT \
-H "Authorization: Bearer user-3a4d80a9c3cca7ffd1bc341f.ede04d00e4b168bed35d9fcde8c2f92f.00d7fecf89201691f94b01e5b294da65.e7ea4c191b2c9a059ce5658deb7349c26a931ed8b7a04bf0" \
-d '{ "name": "My Updated Org", "description": "My first org" }'