v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-0318386446.4 KB

Delete Repository File

Delete a file from a repo repository

delete/api/v2/repos/{entity_name}/{repo_name}/contents/{filepath}

Path parameters

entity_namestring required
repo_namestring required
filepathstring required

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Request body

branchstring
messagestring required
new_branchstring nullable
shastring required
signoffboolean nullable

Response

Successful Response

{"stackTrail":"paths:/api/v2/repos/{entity_name}/{repo_name}/contents/{filepath}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}