Skip to main content
POST
Merge

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Path Parameters

app_id
string
required

The ID of the app both app users belong to.

target_app_user_id
string
required

The ID of the app user that remains after the merge and receives the source's records.

Body

application/json

The AppUserServiceMergeRequest names the app and the two app users to merge.

sourceAppUserId
string

The ID of the app user whose records move to the target. Must differ from the target.

Response

200 - application/json

The AppUserServiceMergeResponse returns the target app user after the merge.

The AppUserServiceMergeResponse returns the target app user after the merge.

appUserView
App User View · object | null

The AppUserView contains an app user as well as paths for apps, identity users, and last usage in expanded arrays.

mergeId
string

The ID of the merge record written for this merge.

recordsMoved
integer<int32>

The number of connector and external source records moved from the source to the target.