Table of Contents
User Management API

Manage teams

Create new team

POST /user/create_team

Request parameters

Request

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X POST "https://api.browserstack.com/user/create_team?team_name=WebTesting"
  • team_name* String

    Name of team. Minimum 1 and maximum 40 characters are required for team name.

Response attributes 200 application/json

Response

{
    "message": "WebTesting successfully created."
}
  • status_code String

    WebTesting successfully created.

Delete team

Delete a team.

DELETE /user/delete_team

Request parameters

Request

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X POST "https://api.browserstack.com/user/delete_team?team_name=WebTesting"
  • team_name* String

    Name of the team

Response attributes 200 application/json

Response

{
    "message": "WebTesting successfully deleted."
}
  • status_code String

    Status code

Note:
If auto user provisioning is enabled, contact your IT Admin for team creation or deletion.

Get parallel allocation details

Get information on current parallel allocation for team(s) in your account.

GET /user/get_team_details

Request parameters

Request

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X POST "https://api.browserstack.com/user/get_team_details"
  • team_name* String

    Name of the team

Response attributes 200 application/json

Response

{
    "message": {
        "MobileTesting": {
            "parallels": {
                "automate": {
                    "val": 1,
                    "type": "Team"
                },
                "app_automate": {
                    "val": 5,
                    "type": "Org"
                }
            }
        },
        "WebTesting": {
            "parallels": {
                "automate": {
                    "val": 2,
                    "type": "Team"
                },
                "app_automate": {
                    "val": 5,
                    "type": "Org"
                }
            }
        }
    }
}
  • status_code String

    Status code

  • message Object

    List of all teams

Note:

  1. Type = "Team" means the parallels are allotted to the team.
  2. Type = "Org" means the parallel sare not allotted to the team, and the team is sharing parallels.

Allocate parallels to team

Allocate parallels (for Automate or App Automate product) to teams. Allocated parallels to a team defines the limit of parallel tests that can be run concurrently by members of that team.

PATCH /user/team-parallel-allocation

Request parameters

Request

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X PATCH "https://api.browserstack.com/user/team-parallel-allocation" -d '{"teams": {"WebTesting": 3},"product": "automate"}'
  • teams* Object

    Object of team names and parallels to be allocated.

  • product* String

    Specify the product for which team is to be updated.

    Possible Value Description
    automate BrowserStack’s Automate product for automated testing of websites.
    app_automate BrowserStack’s App Automate product for automated testing of mobile apps.

Response attributes 200 application/json

Response

{
    "message": "Parallel test limit updated for teams."
}
  • status_code String

    WebTesting successfully created.

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback