Blossom icon

Blossom

Interact with Blossom LMS/LXP API - manage users, groups, memberships, and learning data

User → Set User Authorities

AI-generated

Summary

Set the authorities of a user within a specified domain by assigning or clearing roles such as HR Manager, Professional Manager, Coach, or Authorization Supervisor based on their external IDs.

Inputs

  • Domain (required) — The domain ID in which the user exists.
  • User Identifier Type (required) — The type of identifier used to specify the user (External ID, User ID, User Name, or Identity Number).
  • User Identifier Value (required) — The value corresponding to the selected user identifier type.
  • Authorities — A collection of authority roles to assign to the user, with each role defined by the external ID of the assigned manager or empty to clear that role. Roles include HR Manager, Professional Manager, Coach, and Authorization Supervisor.

Output shape

a JSON response object indicating success or failure of the authority assignment operation

The operation performs a POST request to the endpoint /WebServices/sync_2/UserAuthorities/{domain}/{userIdentifierType}={userIdentifierValue} with a body containing the domain, user identifier, and authorities data. The response includes details of the operation outcome; errors are handled and reported accordingly.

Links

Discussion