How to correctly resize VBO

Hello,
if I wanted to resize a VBO (to make it bigger) how would I do it best?

What I currently do is:

glDeleteBuffers(vboId);
vboId = glGenBuffers();
glBindBuffer(GL15.GL_ARRAY_BUFFER, vboId);
glBufferData(GL15.GL_ARRAY_BUFFER, ..., GL_DYNAMIC_DRAW);

But could I do without the “glGenBuffers()”? Or even without the “glDeleteBuffers()”?
I am just not 100% sure and thats why I’d like to ask.

Thank you very much.

You can re-use the name and just re-create the data store with glBufferData().

Thank you.
I was just not sure if there might be any other data on the graphics card which needs to be reset.