Code Repos
DELETE /v1/config/repos/{id}
Remove a single repo connection from a project
Removes a single repo connection from the current project. Future analyses on this project stop using it; existing analysis records are unaffected.
Stored credentials for this connection are deleted at the same time. If you authorized via OAuth or a GitHub App install, also revoke SigSentry's access from the source platform — see the platform setup guides for revocation steps.
Authentication
API key with config:write permission.
Endpoint
DELETE /v1/config/repos/{id}Path parameters
| Param | Type | Notes |
|---|---|---|
id | UUID | The connection id |
Response
200 OK
{
"success": true,
"data": {
"deleted": true
}
}Error responses
| Status | error.code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | id is not a UUID |
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 403 | FORBIDDEN | Key lacks config:write |
| 404 | NOT_FOUND | No connection with that id in your tenant |
Example
curl -X DELETE https://api.sigsentry.com/v1/config/repos/rc_x1y2z3 \
-H "Authorization: Bearer ss_secret_..."Pausing instead of deleting
If you want to stop using a connection temporarily but keep its
configuration, use PUT with
{ "isActive": false } instead.
