v2

latestOpenAPI 3.0.1private2026-07-2667209320.4 KB
Repositories

Associate application to repository

Replace Repository Applications

Creates the given apps and then adds them to the specified repos.

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

  • orgId
  • repoId
  • appInfos.[*].name - one entry for the name of each app you want to create.

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.

put/api/v1/org/{orgId}/repos/apps

Path parameters

orgIdstring uuid required

UUID identifier for this StackHawk Organization.

Request body

orgIdstring

The organization to map an an existing application to an existing repository in.

Response

OK

orgIdstring

The organization id where repository to application mappings were updated.