Team Management

Invite team members to your account with role-based access control. Scope access to specific servers or grant full account access.


Roles

Each team member is assigned a role that determines their permissions within the account.

RolePermissions
ADMINFull access to assigned servers. Can invite and remove team members.
MEMBERRead and write access to assigned servers. Cannot manage team.
VIEWERRead-only access to assigned servers. Cannot modify any resources.

Invite a Team Member

POSThttps://api.postject.com/v1/team/invite

Send an invitation to a new team member. Only account owners and admins can invite. Requires JWT Bearer authentication.

emailstring (required)

Email address of the person to invite.

namestring (required)

Display name of the team member.

rolestring (required)

One of: ADMIN, MEMBER, or VIEWER.

accessAllboolean (optional)

Grant access to all servers. Defaults to false.

serverIdsstring[] (optional)

Array of server IDs to grant access to. Required if accessAll is false.

json
{
  "email": "teammate@company.com",
  "name": "Jane Smith",
  "role": "MEMBER",
  "accessAll": false,
  "serverIds": ["clx_server_01..."]
}

Verify Invite

GEThttps://api.postject.com/v1/team/invite/:token

Verify an invitation token and retrieve invite details. This endpoint does not require authentication — it is used by the invite acceptance page.


Accept Invite

POSThttps://api.postject.com/v1/team/accept

Accept a pending invitation and create a team member account. No authentication required.

json
{
  "token": "invite_token_here",
  "password": "secure_password_123"
}

List Team Members

GEThttps://api.postject.com/v1/team/members

Returns all team members for your account. Requires JWT Bearer authentication.


Remove a Team Member

DELETEhttps://api.postject.com/v1/team/members/:id

Remove a team member from your account. Only account owners and admins can remove members. Requires JWT Bearer authentication.