Replaces the external job codes mapped to a project for each integration named in the request, either an account integration in Bench or a source key for one outside it. Integrations not named are left alone. Codes missing from a named integration are removed, and codes mapped to another project move to this one. Hours already synced for a removed or moved code are kept as detached weekly hours on the project they were logged against. Callable by service accounts, super admins, and account admins.


Permissions
Account: Write

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The account ID.

int64
required

The project ID.

Body Params

The full list of job codes for each integration named.

The external job codes mapped to one project, grouped by integration. When saving, each integration named here is replaced in full and integrations not named are left alone.

mappings
array of objects
required
length ≤ 200

The project's job codes for each integration listed, sorted by integration when read. Empty when nothing is mapped.

mappings*
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json