Repositories

Update the repository

Updates the repository's branch, root path, or hosting service type without replacing the entire repository configuration.

put/projects/{project_id}/repository

Request

  • Base URL: https://sg.deployhq.com
  • URL: https://sg.deployhq.com/projects/{project_id}/repository
  • Auth: HTTP basic

Path parameters

project_idstring required

The identifier or permalink of the project

Request body

Response

Success

scm_typestring
urlstring
portinteger nullable
usernamestring nullable
branchstring
cachedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.