curl --request POST \
--url https://api.puppetvendors.com/v2/vendor/users \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"email": "<string>",
"password": "<string>",
"vendor": "<string>",
"approved": true,
"notifications": true,
"sendInvite": true,
"profile": {
"profile.firstName": "<string>",
"profile.lastName": "<string>",
"profile.phone": "<string>"
},
"permission": {}
}
'