The Okta Identity Source API provides a mechanism to synchronize an HR source (the custom identity source) with Okta user profiles in an org.
okta.identitySources.read
Lists all identity source sessions for the given identity source instance
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "uij4ri8ZLk0ywyqxB0g4",
- "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
- "status": "CREATED",
- "importType": "INCREMENTAL",
- "created": "2022-04-04T15:56:05.000Z",
- "lastUpdated": "2022-05-05T18:15:44.000Z"
}
]
okta.identitySources.manage
Creates an identity source session for the given identity source instance
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "uij4ri8ZLk0ywyqxB0g4",
- "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
- "status": "CREATED",
- "importType": "INCREMENTAL",
- "created": "2022-04-04T15:56:05.000Z",
- "lastUpdated": "2022-05-05T18:15:44.000Z"
}
]
okta.identitySources.read
Retrieves an identity source session for a given identity source id and session id
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "uij4ri8ZLk0ywyqxB0g4",
- "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
- "status": "CREATED",
- "importType": "INCREMENTAL",
- "created": "2022-04-04T15:56:05.000Z",
- "lastUpdated": "2022-05-05T18:15:44.000Z"
}
]
okta.identitySources.manage
Deletes an identity source session for a given identitySourceId
and sessionId
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.identitySources.manage
Uploads entities that need to be deleted in Okta from the identity source for the given session
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "entityType": "USERS",
- "profiles": [
- {
- "externalId": "string"
}
]
}
{- "errorCode": "E0000001",
- "errorSummary": "Api validation failed: {0}",
- "errorLink": "E0000001",
- "errorId": "sampleiCF-8D5rLW6myqiPItW",
- "errorCauses": [ ]
}
okta.identitySources.manage
Uploads entities that need to be upserted in Okta from the identity source for the given session
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "entityType": "USERS",
- "profiles": [
- {
- "email": "user@example.com",
- "firstName": "string",
- "homeAddress": "string",
- "lastName": "string",
- "mobilePhone": "string",
- "secondEmail": "user@example.com",
- "userName": "string",
- "property1": null,
- "property2": null
}
]
}
{- "errorCode": "E0000001",
- "errorSummary": "Api validation failed: {0}",
- "errorLink": "E0000001",
- "errorId": "sampleiCF-8D5rLW6myqiPItW",
- "errorCauses": [ ]
}
okta.identitySources.manage
Starts the import from the identity source described by the uploaded bulk operations
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "uij4ri8ZLk0ywyqxB0g4",
- "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
- "status": "TRIGGERED",
- "importType": "INCREMENTAL",
- "created": "2022-04-04T15:56:05.000Z",
- "lastUpdated": "2022-05-05T18:15:44.000Z"
}
]