Team Management
Runsite supports team collaboration at two levels: workspace members (account-wide) and project members (per-project access).
Workspace Members
Section titled “Workspace Members”Workspace members have access to your account and can be assigned roles.
List members
Section titled “List members”GET /api/workspace/membersInvite a member
Section titled “Invite a member”POST /api/workspace/membersContent-Type: application/json
{ "email": "teammate@example.com", "role": "member"}Update member role
Section titled “Update member role”PATCH /api/workspace/members/{member_id}Content-Type: application/json
{ "role": "admin"}Remove a member
Section titled “Remove a member”DELETE /api/workspace/members/{member_id}Project Members
Section titled “Project Members”Project members have access to a specific project and its services.
List project team
Section titled “List project team”GET /api/projects/{project_id}/teamCheck your access
Section titled “Check your access”GET /api/projects/{project_id}/team/accessReturns your role and permissions for the project.
Invite to project
Section titled “Invite to project”POST /api/projects/{project_id}/teamContent-Type: application/json
{ "email": "developer@example.com", "role": "developer"}Update member role
Section titled “Update member role”PATCH /api/projects/{project_id}/team/{member_id}Content-Type: application/json
{ "role": "admin"}Remove from project
Section titled “Remove from project”DELETE /api/projects/{project_id}/team/{member_id}Leave a project
Section titled “Leave a project”POST /api/projects/{project_id}/team/leaveWorkspace Profile
Section titled “Workspace Profile”Update profile
Section titled “Update profile”PATCH /api/workspace/profileContent-Type: application/json
{ "name": "New Name"}