Median

DELETE /integrations/repos/{owner}/{repo}

Updated Oct 1, 20261 minute read

Stop mirroring a repository

Stops mirroring. What it already imported stays in the library.

Part of Integrations.

Parameters

NameInTypeRequiredDescription
ownerpathstringYes
repopathstringYes

Responses

StatusDescription
200Done.
401The bearer token is missing, revoked, or expired.
404Not one of yours, or not there at all.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
okbooleanNo

Example response

{
  "ok": true
}

Example request

curl -X DELETE https://api.median.sh/v1/integrations/repos/owner/repo \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc