AgentConnect
Decisions

Delete repository routing

Removes the routing for one code-host repository and subject family; the members' triggers fire unrouted again. Needs edit access to every member agent (an owner for a routing with no member left).

DELETE
/v1/orgs/{orgId}/decision-routing/{provider}/{repoId}/{family}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
provider*string

Value in

  • "github"
  • "gitlab"
  • "gitea"
repoId*string
Match^[1-9]\d{0,18}$
family*string

Value in

  • "issues"
  • "pull_request"
  • "merge_request"

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/orgs/string/decision-routing/github/string/issues"
Empty