Smartedit Spartacus custom site is selected and makes the below request automatically and types sends as empty "" therefore it gives 400 error.
"https://localhost:9002/permissionswebservices/v1/permissions/principals/admin/types?permissionNames=create,change,read,remove&types="
Verified the requests with other sites and its been sent as below. Don't know where we can configure types therefore it should be sending types=ContentPage for spartacus.
"https://localhost:9002/permissionswebservices/v1/permissions/principals/admin/types?permissionNames=create,change,read,remove&types=ContentPage"