Inspect

Delete repository

Delete a GitHub repository from Inspect and cancel its active environment build. Requires repository management permission.

Base URL
DELETE
/api/v2/repositories/{repository_id}

Delete a GitHub repository from Inspect and cancel its active environment build. Requires repository management permission.

Authorization

bearerAuth repositories:write
headerAuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

Scope: repositories:write

Path Parameters

repository_id*string

Repository identifier

Response Body

Deleted repository

Example Request
curl -X DELETE 'https://app.inspect.com/api/v2/repositories/web'
Example Response
Empty