Users
Create a new principal for a user
Create a new principal for a user. A principal links a user to an organization and a set of roles. Every action is carried out by a principal. At the moment this endpoint can only be accessed by Sulu admins.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier for a user
Body
application/json
Organization ID for the new principal
Roles to assign to the principal