Updates an app

PATCH /apps/{app-slug}

Updates an app by slug. Only updates the fields specified in the body.

Path parameters

  • app-slug string Required

    App slug

Body Required

App update params. All fields are optional, omit the fields you don't wish to update.

  • apple_credential_user_id integer

    The new apple credential user ID (recommendation: use the UI to set this)

  • apple_credential_user_slug string

    The new apple credential user slug (recommendation: use the UI to set this)

  • default_branch string

    The new default branch for the application.

  • is_public boolean

    The new value of whether an application should be publicly visible

  • repository_url string

    The new repository URL for the application.

  • services_credential_user_id integer

    The new service credential user ID (recommendation: use the UI to set this)

  • title string

    The new title of the application.

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • status string
  • 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
PATCH /apps/{app-slug}
curl \
 --request PATCH 'https://api.bitrise.io/v0.1/apps/{app-slug}' \
 --header "Authorization: $API_KEY" \
 --data '{"apple_credential_user_id":42,"apple_credential_user_slug":"string","default_branch":"string","is_public":true,"repository_url":"string","services_credential_user_id":42,"title":"string"}'
Request examples
{
  "apple_credential_user_id": 42,
  "apple_credential_user_slug": "string",
  "default_branch": "string",
  "is_public": true,
  "repository_url": "string",
  "services_credential_user_id": 42,
  "title": "string"
}
Response examples (200)
{
  "status": "string"
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}