sites
Update Configuration
Update the connected branch, destination path, or repository subdirectory on a site that is already connected to git. Omitted fields are left unchanged; pass an explicit empty string to destination_path or repository_subdirectory to clear that field.
put/sites/{site_id}/git
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idinteger required
Request body
Response
Successful Response
Example response
{
"message": "Success",
"data": {
"repository": "https://github.com/example/site.git",
"branch": "develop",
"destinationPath": "public",
"repositorySubdirectory": "wp-content",
"connected": true,
"hasToken": true
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.