New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Irrecoverably purge a project

DELETE 

/projects/:project_id

!! Use with extreme caution !!

Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data.

Calling this endpoint will additionally delete custom domains and other related data.

If the project is linked to a subscription, the subscription needs to be unlinked first.

SDK ReferenceTypeScript
purgeProject()
ParametersTypeRequiredDescription
projectIdstringrequiredProject ID The project's ID.