Adding back column with same ID after deletion

If a column with a specific id was deleted (currently in trash), will it not be possible to add a column with same id using mutation and api?

Try it! Then add a comment with the mutation and whether it worked. Share your findingsšŸ™ƒ

Hey! I tried it. Only getting graphql error that the ā€œcolumn id is invalidā€. Iā€™m guessing the logic is that since the column is in trash and can be added back, same id is not being allowed. Not sure though.

Hello there @manishaghosh,

Once an ID is used for a column, it can not be used again (even if the column is deleted).

Cheers,
Matias

1 Like

Creating column ids as GUIDs or incrementing integers from the start would stop all this confusion.

Iā€™ve read several posts on here where people think that the column id means something, whereas in reality, itā€™s just an id that happens to initially look similar to the column name/title on creation.

See also:

Thank you for the feedback @dvdsmpsn !

It will be shared with the team :grin: