Why default cannot be used when calling object

At test case, call api object,
variable (id:default)
Error cross mark indicated at that line.
I have to define
Def I’d = default
Then call api object,
variable (id:id)

Why default cannot be used directly?