Teams API

API for managing team members

This document describes the API endpoints for managing teams. To use this API, you must be a team admin.

Read more about the Teams feature, the available user roles and permissions.

Invite a new team member

Invite a new team member to your team.

POST /team/:team_id/invitation


emailstringRequired. User email
rolestringRequired. Could be owner or developer

developer role corresponds to the Member role and owner role corresponds to the Admin role in Codemagic UI.


curl -H "Content-Type: application/json" \
     -H "x-auth-token: <API Token>" \
     -d '{
        "email": "",
        "role": "developer"
     }' \
     -X POST<team_id>/invitation


A full team object is returned.

Delete a team member

Remove a team member from the team.

DELETE /team/:team_id/collaborator/:user_id


curl -H "Content-Type: application/json" \
     -H "x-auth-token: <API Token>" \
     -X DELETE<team_id>/collaborator/<user_id>