Skip to main content
PATCH
/
{org}
/
{repo}
Update repository
curl --request PATCH \
  --url https://staging.depot.mesa.dev/{org}/{repo} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "org": "<string>",
  "name": "<string>",
  "default_branch": "<string>",
  "size_bytes": 123,
  "last_push_at": "<string>",
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org
string
required
Minimum string length: 1
repo
string
required
Minimum string length: 1

Body

application/json
name
string
required
Required string length: 1 - 100

Response

Repository updated

id
string
required
org
string
required
name
string
required
default_branch
string
required
size_bytes
number
required
last_push_at
string | null
required
created_at
string
required