Some changes in this call need a fresh second factor. A token cannot give a second factor, so such a change gets 403 auth.api_token_not_allowed. Make it in the console.
Decide on duplicate accounts: link means the account belongs to one of the suggested people, create means it is a new person with the login of the account. Every decision is checked first, then the decisions apply at once in the order of the accounts and leave the list. A sync of the connector starts to add their groups (sync_job_id, absent while a sync already runs: that sync or the next one adds them). A decision that can't apply answers 409 with the reason, for example the person no longer has the email or username of the account, another person has its login, another connector of the same installation links the account, or the account already signs in as another person. The decisions before it stay applied (decided). Linking needs every permission the chosen person holds in each of their organizations, as linking an external account through the API does: otherwise 403.
Needs MFA step-up, or a token with allow_security_changes and security:manage.
Parameters
Connector ID (UUID)
Request body application/json · ConnectorDuplicateDecisionsRequest
3 fields
linkcreateThe person to link the account to, one of the suggested people. Required for link.
Responses
OK
ConnectorDuplicateDecisionsResponse · 2 fields
The sync that applies the decisions. Absent when a sync already runs.
Bad Request - a person outside the suggested people, a link without identity_id, the same account or the same person twice in one request, or more than 500 decisions
Conflict - a decision was refused with the reason in detail, the connector is syncing now, or the connector is paused (connector.paused). Decided counts the decisions before the refused one, which stay applied
Common errors: 401 403 404 413 429 503 504. They mean the same for every operation, see Errors.