---
title: "Complete SCMAppRequest"
method: PUT
path: "/api/scm/app_request_complete"
tags: ["ScmAppsService"]
---

# Complete SCMAppRequest

`PUT /api/scm/app_request_complete`

Complete an SCM app request.

## Request body

- ProtosScmV1CompleteScmAppRequestRequest
  - `requestId` string
  - `code` string

## Response `200`

OK

- ProtosScmV1CompleteScmAppRequestResponse
  - `app` ProtosScmV1ScmApp
    - `id` string
    - `slug` string
    - `appId` string
    - `scmType` 'SCM_TYPE_GITHUB' | 'SCM_TYPE_GITHUB_ENTERPRISE' | 'SCM_TYPE_GITLAB' | 'SCM_TYPE_GITLAB_SELFMANAGED' | 'SCM_TYPE_BITBUCKET' | 'SCM_TYPE_BITBUCKET_DATACENTER' | 'SCM_TYPE_AZURE_DEVOPS' | 'SCM_TYPE_UNKNOWN' | 'SCM_TYPE_HARNESS', enum — | value | description | |-------|---------------| | SCM_TYPE_GITHUB | GitHub Cloud | | SCM_TYPE_GITHUB_ENTERPRISE | GitHub Enterprise | | SCM_TYPE_GITLAB | GitLab Cloud | | SCM_TYPE_GITLAB_SELFMANAGED | GitLab Self-Managed | | SCM_TYPE_BITBUCKET | Bitbucket Cloud | | SCM_TYPE_BITBUCKET_DATACENTER | Bitbucket Data Center | | SCM_TYPE_AZURE_DEVOPS | Azure DevOps | | SCM_TYPE_UNKNOWN | | | SCM_TYPE_HARNESS | Harness |
    - `baseUrl` string
    - `requestId` string
    - `scmName` string
    - `codeAccess` boolean
    - `tenantId` string — Entra tenant ID, unset for other SCM types

---

[API](https://skmtc.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/versions/6483eeecd582/schema)
