Delete a project.

deletehttps://app.fossa.com/api/projects/{locator}

Permanently delete a project and its associated data. The caller must have Delete permission on the project, and the project must belong to the caller's organization.

Path parameters

locatorstringrequired

The URL-encoded locator of the project (e.g., "git+github.com/owner/repo")

Responses

200Project deleted successfully.
401Unauthorized
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

403Forbidden - Insufficient permissions
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

404Not Found - Project does not exist or you do not have access to it
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

500Server Error
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

Try this endpoint

Build a request and run it against app.fossa.com.

Bearer

Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.

DELETE https://app.fossa.com/api/projects/git%252Bgithub.com%252Ffossas%252Ffossa-cli
curl --request DELETE \  --url 'https://app.fossa.com/api/projects/git%252Bgithub.com%252Ffossas%252Ffossa-cli' \  --header 'accept: application/json' \  --header 'authorization: Bearer YOUR_API_TOKEN'

Real request. Mutating methods can change data.

Click Try It to run a request and see the response here.
Enter a Bearer token before running this request.

Path params

locatorstringrequired

The URL-encoded locator of the project (e.g., "git+github.com/owner/repo")