Skip to main content
PATCH
/
applications
/
{application}
Update application
curl --request PATCH \
  --url https://cloud.laravel.com/api/applications/{application} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_control_provider_type": "github",
  "name": "<string>",
  "slug": "<string>",
  "default_environment_id": "<string>",
  "repository": "<string>",
  "slack_channel": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "type": "applications",
    "attributes": {
      "name": "<string>",
      "slug": "<string>",
      "region": "us-east-2",
      "slack_channel": "<string>",
      "avatar_url": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "repository": {
        "full_name": "<string>",
        "default_branch": "<string>"
      }
    },
    "relationships": {
      "repository": {
        "data": {
          "type": "repositories",
          "id": "<string>"
        }
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "<string>"
        }
      },
      "environments": {
        "data": [
          {
            "type": "environments",
            "id": "<string>"
          }
        ]
      },
      "deployments": {
        "data": [
          {
            "type": "deployments",
            "id": "<string>"
          }
        ]
      },
      "defaultEnvironment": {
        "data": {
          "type": "environments",
          "id": "<string>"
        }
      }
    }
  },
  "included": [
    {
      "id": "<string>",
      "type": "repositories",
      "attributes": {
        "name": "<string>"
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://cloud.laravel.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Path Parameters

application
string
required

The application identifier

Body

application/json
source_control_provider_type
enum<string>

The source control provider. This parameter will be required starting March 9, 2026.

Available options:
github,
gitlab,
bitbucket
name
string
Required string length: 3 - 40
Pattern: ^[\p{Latin}0-9 _.'-]+$
slug
string
Minimum string length: 3
default_environment_id
string
repository
string
slack_channel
string | null

Response

ApplicationResource

data
ApplicationResource · object
required
included
(RepositoryResource · object | OrganizationResource · object | EnvironmentResource · object | DeploymentResource · object)[]