I created a collection type in the Strapi admin panel and now I want to delete it, but I don't see an option anywhere in the admin panel to do so. I must be missing something obvious, right?
Asked
Active
Viewed 5,831 times
3 Answers
9
You can do it in Content Type Builder, steps:
- Enter Admin panel
- Content Type Builder
- Click a collection type
- Edit (small pen icon next to the name)
- Delete
- Confirm
Official docs - Deleting content-types
Another way is to use the admin API, make a DELETE
call to:
/content-type-builder/content-types/:uid
To use the API you must have permissions enabled for a role under Roles & Permissions
At the time of this update Strapi added a caution (Feb 2022):
Deleting a content-type only deletes what was created and available from the Content-type Builder ... All the data ... is however kept in the database.

Eggcellentos
- 1,570
- 1
- 18
- 25
1
You need to start the server with npm run develop
or yarn run develop
If you started the server with npm run start
or yarn run start
you will not see these options.

Alex Kolarski
- 3,255
- 1
- 25
- 35
0
Make sure to skip the tour... It prevents you from deleting anything until it's completed...

Andrew
- 5,839
- 1
- 51
- 72