Change the role I am looking for
profile_role_replaceReplaces all saved FoundRole account roles with the one you choose, removes prior roles, and updates job recommendations and future title-less searches to that role.
Instructions
Replaces the roles saved on the user's FoundRole account with the one role the user chose. The previous roles are removed from the account, including a role taken from the user's resume. Recommendations then show the new role's newest jobs in the account's place, and later searches with no title search exactly that role. For an account with no role yet, profile_role_set saves one without removing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| career_profile_id | Yes | The FoundRole role the user chose, as careerProfileId from roles_lookup or a search question |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| success | Yes |