POST /api/v1/idps/{idpId}/users/{userId}

Links an Okta User to an existing SAML or social Identity Provider.

The SAML Identity Provider must have honorPersistentNameId set to true to use this API. The Name Identifier Format of the incoming assertion must be urn:oasis:names:tc:SAML:2.0:nameid-format:persistent.

Servers

Path parameters

Name Type Required Description
userId String Yes

ID of an existing Okta user

idpId String Yes

id of IdP

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
externalId String No

Unique IdP-specific identifier for a User

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.