Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Disconnect a source repository

DELETE/v1/source-repositories/{id}Disconnect a source repository

⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️

Disconnects the source repository link. Existing branches and their attached resources are preserved.

Parameters

idstringpathrequired

pattern ^(srcrepo_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Responses

204Source repository disconnected.
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
404Source repository not found.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu