Changing the location of the application's bitrise.yaml

PUT /apps/{app-slug}/bitrise.yml/config

Changing the location of the application's bitrise.yaml. Requires administrator level privileges to the app.

Path parameters

  • app-slug string Required

    App slug

Body Required

Bitrise YML Config Update Params

  • location string

    Values are bitrise.io or repository.

Responses

  • 204

    No Content

  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
PUT /apps/{app-slug}/bitrise.yml/config
curl \
 --request PUT 'https://api.bitrise.io/v0.1/apps/{app-slug}/bitrise.yml/config' \
 --header "Authorization: $API_KEY" \
 --data '{"location":"repository"}'
Request examples
{
  "location": "repository"
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}