This command will the spawn point for the world you are currently in to your current location.
The syntax for the setspawnpoint command is as follows:
/setspawnpoint Admin Only
Find below working examples of the setspawnpoint command.
This is the only way you can execute the set spawn point command. This will set the spawn point of the world you're in to your current location. Note that each world has a different spawn point.