SigSentrySigSentry
Code Repos

DELETE /v1/config/repos/{id}/cache

Force a refresh of repo data for a connection

Forces the next analysis on this repo connection to re-fetch from the source platform instead of reusing recent data. Use as an escape hatch in these scenarios:

  • After a force-push that rewrote history on the default branch
  • After rotating credentials with PUT, to guarantee the next read uses the new token
  • After a large refactor if you've noticed analyses citing out-of-date file contents

You normally don't need to call this — repo data refreshes automatically over time.

Authentication

API key with config:write permission.

Endpoint

DELETE /v1/config/repos/{id}/cache

Path parameters

ParamTypeNotes
idUUIDThe connection id

Response

200 OK

{
  "success": true,
  "data": {
    "flushed": true
  }
}
FieldNotes
flushedtrue once the request completes

Error responses

Statuserror.codeWhen
400VALIDATION_ERRORid is not a UUID
401UNAUTHORIZEDMissing or invalid API key
403FORBIDDENKey lacks config:write
404NOT_FOUNDNo connection with that id in your tenant

Example

curl -X DELETE https://api.sigsentry.com/v1/config/repos/rc_x1y2z3/cache \
  -H "Authorization: Bearer ss_secret_..."

Idempotency

Calling this endpoint repeatedly is safe. No Idempotency-Key is required.