---
title: "Update account users posts mapping"
method: PUT
path: "/api/v1/job/account_users_posts_mappings/{id}"
tags: ["Job::AccountUsersPostsMappings"]
---

# Update account users posts mapping

`PUT /api/v1/job/account_users_posts_mappings/{id}`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/job/account_users_posts_mappings/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- object
  - `role` 'recruiter' | 'hiring_manager' | 'other'
  - `is_active` boolean

## Response `200`

mapping updated

- object
  - `data` JobAccountUsersPostsMapping, required
    - `id` integer, required
    - `role` 'recruiter' | 'hiring_manager' | 'other', required
    - `is_active` boolean, nullable, required
    - `job_post_id` integer, required
    - `account_user_id` integer, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `recommendation_stats` object[]
      - `day` string, required
      - `target` number, required
      - `actual` number, required
    - `job_post` DropdownPost, required
      - `value` integer, required
      - `label` string, required
    - `account_user` AccountDisplayUser, required
      - `id` integer, required
      - `email` string, required
      - `role` 'client' | 'talent' | 'admin', required
      - `first_name` string, nullable, required
      - `last_name` string, nullable, required
  - `meta` object, nullable

## Other responses

- `401`: authentication failed
- `404`: mapping not found

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
