Skip to main content
PATCH
Update a project

Authorizations

Authorization
string
header
required

Generate an API token at https://qlty.sh/user/settings/tokens

Path Parameters

ownerKeyOrId
string
required

Repository owner name (login) or workspace ID

Minimum string length: 3
Example:

"acme-corp"

keyOrId
string
required

Repository name or project ID

Minimum string length: 3
Example:

"my-repo"

Body

application/json

Fields to update

applicationId
string<uuid> | null
required

ID of the Application to assign this Project to, or null to unassign it

Example:

"550e8400-e29b-41d4-a716-446655440001"

Response

The updated project

id
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

workspaceId
string
required
Example:

"ws_abc123"

providerUrl
string
required

URL to the repository on the provider

Example:

"https://github.com/acme-corp/my-repo"

key
string
required

Repository name

Example:

"my-repo"

workspaceKey
string
required

Key of the workspace this project belongs to

Example:

"acme-corp"

applicationId
string | null
required

ID of the Application this project is assigned to, or null when unassigned

Example:

"550e8400-e29b-41d4-a716-446655440001"