Skip to content

Team Management

Runsite supports team collaboration at two levels: workspace members (account-wide) and project members (per-project access).

Workspace members have access to your account and can be assigned roles.

GET /api/workspace/members
POST /api/workspace/members
Content-Type: application/json
{
"email": "teammate@example.com",
"role": "member"
}
PATCH /api/workspace/members/{member_id}
Content-Type: application/json
{
"role": "admin"
}
DELETE /api/workspace/members/{member_id}

Project members have access to a specific project and its services.

GET /api/projects/{project_id}/team
GET /api/projects/{project_id}/team/access

Returns your role and permissions for the project.

POST /api/projects/{project_id}/team
Content-Type: application/json
{
"email": "developer@example.com",
"role": "developer"
}
PATCH /api/projects/{project_id}/team/{member_id}
Content-Type: application/json
{
"role": "admin"
}
DELETE /api/projects/{project_id}/team/{member_id}
POST /api/projects/{project_id}/team/leave
PATCH /api/workspace/profile
Content-Type: application/json
{
"name": "New Name"
}