curl --location -g --request POST '{{BASE_URL}}/admin/invites' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
"metadata": {}
}'
{
"invite": {
"id": "string",
"email": "user@example.com",
"accepted": true,
"token": "string",
"expires_at": "2019-08-24T14:15:22Z",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.