Skip to main content
PUT
Replaces the full set of repository attachments for a directive. Existing attachments are removed and replaced with the provided list. Use applies_to_all: true to make the directive active in every repository. Required scope: context:write

Path Parameters

string
required
The directive ID (e.g. dir_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization.

Body

array
default:"[]"
List of repositories in owner/repo format to attach to. Ignored when applies_to_all is true.
boolean
default:"false"
When true, the directive is active in all repositories. repo_full_names is ignored.

Response

array
The new set of attachment resources after replacement.