PATCH
/
organizations
/
{organizationId}
/
code-repos
/
{codeRepoId}
/
trees
/
{sha}
curl --request PATCH \
  --url https://api.icepanel.io/v1/organizations/{organizationId}/code-repos/{codeRepoId}/trees/{sha} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "codeRepoTree": [
    {
      "language": "<string>",
      "path": "<string>",
      "sha": "<string>",
      "size": 123,
      "type": "blob"
    }
  ]
}'
{}

Headers

Authorization
string
required

Path Parameters

organizationId
string
required
codeRepoId
string
required
sha
string
required

Body

application/json
codeRepoTree
object[]
required

Response

200
application/json
OK

The response is of type object.