Delete a project
Deletes the project and every deployment and domain attached to it. This cannot be undone.
Parameters
idOrNamestringpathrequiredThe project's id or name.
teamIdstringqueryThe team identifier to perform the request on behalf of.
slugstringqueryThe team slug to perform the request on behalf of.
Code samples
TypeScript
const res = await fetch('https://api.ridgeline.run/v11/projects/{idOrName}?teamId=&slug=', {
method: 'DELETE',
});
const data = await res.json();cURL
curl -X DELETE "https://api.ridgeline.run/v11/projects/{idOrName}?teamId=&slug="Python
import requests
res = requests.request(
"DELETE",
"https://api.ridgeline.run/v11/projects/{idOrName}?teamId=&slug=",
)
data = res.json()Responses
200 OK
{}400 One of the provided values is invalid.
403 You do not have permission to access this resource.
Was this helpful?