The portal id
Example:3afb7b54-6144-4561-9a29-1148006f2375
This endpoint allows the creation of a user in the portal. Ensure the user has the necessary permissions before attempting to create a user. You should have yukiapi:portal:users:write scope to access this endpoint.
The portal id
Example:3afb7b54-6144-4561-9a29-1148006f2375
Bearer token for authentication
Content type, must be application/json
Allowed values:application/json
First name of the user
Last name of the user
User email
Example:john.doe@yuki.nl
The locale for the domain.
BE: nl-BE, en-US, fr-BE.
NL: en-US, nl-NL
Allowed values:nl-BEen-USfr-BEnl-NL
Example:en-US
Role of the user
Allowed values:PortalAdministratorPortalBackofficePortalDataEntry
User message
Portal user created successfully
The ID of the created user
Example:3afb7b54-6144-4561-9a29-1148006f2375
curl --request POST \
--url https://apirest.yukiworks.com/api/v1/portals/3afb7b54-6144-4561-9a29-1148006f2375/users \
--header 'Accept: application/json, application/problem+json' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "firstName",
"lastName": "lastName",
"email": "john.doe@yuki.nl",
"language": "en-US",
"role": "PortalAdministrator"
}'{
"id": "3afb7b54-6144-4561-9a29-1148006f2375"
}