Update a team's defaults
Change the role given to users that join a team through its invite link or a verified email domain. Requires administrator access to the team. Use it when a team administrator wants new joiners to start with a different role.
Change the role given to users that join a team through its invite link or a verified email domain. Requires administrator access to the team. Use it when a team administrator wants new joiners to start with a different role.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Path Parameters
Slug of the team.
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/accounts/string" \ -H "Content-Type: application/json" \ -d '{ "defaultUserLevel": "member" }'{ "id": "string", "slug": "string", "name": "string", "type": "user", "plan": { "name": "string", "includedScreenshots": -9007199254740991 }, "periodStartDate": "2019-08-24T14:15:22Z", "periodEndDate": "2019-08-24T14:15:22Z", "currentPeriodScreenshots": -9007199254740991, "includedScreenshots": -9007199254740991, "consumptionRatio": 0, "additionalScreenshotsCost": 0, "defaultUserLevel": "member"}List a project's media GET
List the standalone images and videos uploaded to a project, most recent first. `branch` and `prNumber` are what this is usually for: everything uploaded for the work in hand, whether or not a pull request exists yet. `branch` covers both — a media keeps its branch after publishing — so it stays a single query across the moment the pull request opens. Use it to find everything uploaded for a branch or pull request.
List a team's members GET
List the members of a team, with their role. Requires administrator access to the team. Use it when you need to know who belongs to a team or which role each member holds.