# Assign Profile To User Assign a profile to a user Endpoint: PUT /compliance/kyc-protect/profiles/assign Version: 1.10.9 Security: bearerToken ## Query parameters: - `profileId` (string, required) Id of the profile being assigned to a user - `userId` (string) User Id to assign the Profile to ## Response 200 fields (application/json): - `id` (string) Id of the Profile - `name` (string) Name of the Profile - `riskRating` (string) The risk rating being assigned to the profile Enum: "notApplicable", "veryLow", "low", "medium", "high", "veryHigh" - `status` (string) Status of the profile (new, approved, declined, pending, cancelled, referred, closed, approvedReviewDue) - `type` (string) Type of the profile (trust, individual, soleTrader, company, plc, partnership, otherEntity) - `internalId` (string) Internal Id given to profile by customer - `assignedToId` (integer) Id of the user assigned to the profile - `assignedTo` (string) Name of the user assigned to the profile - `safeNumber` (string) safe number of the business linked to the profile - `companyId` (string) company id of the business linked to the profile - `formationDate` (string) Formation date of the business linked to the profile - `createdAt` (string) Profile created time - `createdById` (integer) Id of the user who created the profile - `createdBy` (string) Name of the user who created the profile - `modifiedAt` (string,null) Profile last updated time - `modifiedById` (integer) Id of the user who last modified the profile - `modifiedBy` (string) Name of the user who last modified the profile - `kycApprovedAt` (string) Date when the profile got approved - `kycReviewOn` (string) Date when profile is to be reviewed - `kycStatusUpdatedOn` (string) Date when the profile status was last updated - `kycComments` (string) Profile comments - `noteCount` (integer) Count of notes associated with profile - `attachmentCount` (integer) Count of attachments associated with profile - `keyPartyCount` (integer) Count of key parties associated with profile - `uboCount` (integer) Count of UBOs associated with profile - `openAlertCount` (integer) Count of Open Alerts - `modeOfCreation` (string) Mode of profile creation (manual, import) - `importStatus` (string) Status of profile creation (submitted, preprocessed, validated, queued, inProgress, processed, completed, partiallyCompleted, failed) - `isLocked` (boolean) Value indicating whether the profile is locked ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected