# catalog_licenses_user_assignment_create Create or update a user license assignment Endpoint: POST /api/catalog/licenses/user/assignment/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `license_id` (integer, required) The ID of the user license - `page` (integer) Page number for pagination - `page_size` (integer) Number of results per page - `platform_key` (string) The unique identifier for the platform - `platform_org` (string) The organization identifier for the platform - `sort` (string) Field to sort results by ## Request fields (application/json): - `license_id` (integer, required) The ID of the user license - `user_id` (integer) The user ID to assign the license to - `email` (string) The email to assign the license to - `platform_key` (string) The unique identifier for the platform - `platform_org` (string) The organization identifier for the platform - `active` (boolean) Whether the assignment is active - `fulfilled` (boolean) Whether the assignment has been fulfilled - `metadata` (object) Additional metadata for the assignment ## Response 200 fields (application/json): - `id` (integer, required) The unique identifier for the assignment - `user_id` (integer, required) The ID of the user assigned the license - `username` (string, required) The username of the user assigned the license - `email` (string,null, required) The email address of the user assigned the license - `active` (boolean, required) Whether the assignment is active - `fulfilled` (boolean, required) Whether the assignment has been fulfilled - `redirect_to` (string,null) URL to redirect to after fulfillment - `metadata` (object, required) Additional metadata for the assignment - `license_id` (integer, required) The ID of the user license - `license_name` (string, required) The name of the user license - `platform_key` (string, required) The platform key associated with the license