v2

latestOpenAPI 3.0.1private2026-07-2667209320.4 KB
Repositories

Replace repository application mappings

Replace Repository Applications

Replace the list of applications for the given repository.

Usage: Only the id parameters are required for this request. All other fields are ignored.

  • orgId
  • repoId
  • appInfos.[*].id - one entry for each app you want to map. You must pass in current mappings to maintain them.

Note that the other fields in appInfos are read-only for this request, and will be ignored.

🧾 Audited This is recorded as APPLICATIONS_ADDED_FOR_REPOS User Activity.

Requires write:application permission.

post/api/v1/org/{orgId}/repo/{repoId}/applications

Path parameters

orgIdstring uuid required

UUID identifier for this StackHawk Organization.

repoIdstring uuid required

UUID identifier for this StackHawk Repository.

Request body

orgIdstring

The organization this operation belong to.

repoIdstring

The repository id to replace application mappings for.

Response

OK

orgIdstring

The organization this operation belong to.

repoIdstring

The repository id to replace application mappings for.