Update a project
Update a project's settings. Only the fields present in the request are changed. Requires administrator access to the project. Use it when a project administrator asks to change a project's settings.
Update a project's settings. Only the fields present in the request are changed. Requires administrator access to the project. Use it when a project administrator asks to change a project's settings.
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
1 <= length1 <= 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/projects/string/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "account": { "id": "string", "slug": "string" }, "name": "string", "defaultBaseBranch": "string", "hasRemoteContentAccess": true, "autoApprovedBranchGlob": "string", "deploymentProductionBranchGlob": "string", "private": true, "summaryCheck": "always", "prCommentEnabled": true, "githubActionsOidcEnabled": true, "tokenlessAuthEnabled": true, "deploymentEnabled": true, "deploymentAuth": "public", "defaultUserLevel": "admin", "ignoreConfig": { "enabled": true, "autoIgnore": { "changes": 1 } }}Get a project GET
Retrieve a project by its owner (account slug) and project name. Use it when you need a project's details or settings, for example before changing them.
List a project's contributors GET
List the users explicitly granted access to a project, with their level. Team owners and members are not listed — they reach every project through their team role. The authenticated user comes first when they are one of them. Use it to check who, beyond the team's owners and members, can access a project.