CorfedoCorfedoDocs
ReferenceAPI referenceSearch and read

Delete Context

DELETE /api/v1/contexts/{contextId}. Request parameters and response schemas.

DELETE
/api/v1/contexts/{contextId}

Authorization

headerAuthorizationBearer <token>

Corfedo-issued bearer credential for the workspace's API resource, such as https://workspace.corfedo.example/api; the workspace host is the issuer. Public clients identify themselves with a Client ID Metadata Document URL and use PKCE S256; service clients use private_key_jwt. Browser cookies and MCP-resource credentials are not accepted.

Scope: corfedo:tenant:contexts:write, corfedo:repositories:code:read

Path Parameters

contextId*string
Formatuuid

Query Parameters

revision*string

The context's current revision.

Match^[1-9][0-9]*$
Lengthlength <= 19

Response Body

No Content

Example Request
curl -X DELETE 'https://example.com/api/v1/contexts/497f6eca-6276-4993-bfeb-53cbbbba6f08?revision=string'
Example Response
Empty