v1
API
CLI
JS Client

Team / Team Roles /

Add member to team role

Adds a user to a platform role in a team.

Required permission

Account > Admin > Roles > Manage

Path parameters

    • teamId

      string required
      ID of the team
    • roleId

      string required
      ID of the team role

Request body

  • {object}
    • userId

      string required
      ID of the user to add to this role.

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
    API
    CLI
    JS Client

    POST /v1/teams/{teamId}/roles/{roleId}/members

    Example request

    Request body
    curl --header "Content-Type: application/json" \
      --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
      --request POST \
      --data '{"userId":"5e6ea4090a1a280001b2d4e3"}' \
      https://api.northflank.com/v1/teams/{teamId}/roles/{roleId}/members

    Example response

    200 OK

    The operation was performed successfully.

    JSON

    {
      "data": {}
    }

    © 2026 Northflank Ltd. All rights reserved.