Development Branches

Branch update

Updates name and/or description of a development branch. Update of a default branch name is not allowed.

put/v2/storage/dev-branches/{id}

Request

Path parameters

idinteger required

ID of the branch.

Request body

namestring

New name of the branch. Must not be blank; the default branch cannot be renamed.

descriptionstring

New description of the branch.

Example request

{
  "name": "My branch",
  "description": "Some description"
}

Response

Updated branch detail.

idinteger required

Branch ID.

namestring required

Branch name.

descriptionstring required

Branch description.

createdstring required

Creation time, ISO 8601 with a +hhmm offset.

isDefaultboolean required

True for the default (production) branch.

Example response

{
  "id": 123,
  "name": "My branch",
  "created": "2017-02-13T12:01:05+0100",
  "creatorToken": {
    "id": 267,
    "name": "dev@keboola.com"
  }
}

Changes

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