Authorizations
Headers
ID of the integration you want to interact with.
Path Parameters
ID of the provisioning group (currently only default is allowed).
Body
application/json
POST /hris/provisioning-groups/:group_id/diff Request body
curl --request POST \
--url https://api.kombo.dev/v1/hris/provisioning-groups/{group_id}/diff \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Integration-Id: <x-integration-id>' \
--data '{
"provisioned_users": [
{
"origin_id": "your_id_123",
"email": "johndoe@example.com"
}
],
"options": {
"employee_fields": [
"id",
"first_name",
"last_name"
]
}
}'{
"status": "<string>",
"data": {
"users": {
"to_provision": [
{
"email": "<string>",
"employee": {
"id": "<string>",
"remote_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"groups": [
{
"id": "<string>",
"remote_id": "<string>",
"name": "<string>"
}
],
"avatar": "<string>",
"work_location_id": "<string>",
"legal_entity_id": "<string>"
}
}
],
"to_deprovision": [
{
"origin_id": "<string>",
"email": "jsmith@example.com"
}
],
"already_provisioned": [
{
"origin_id": "<string>",
"email": "jsmith@example.com",
"employee": {
"id": "<string>",
"remote_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"groups": [
{
"id": "<string>",
"remote_id": "<string>",
"name": "<string>"
}
],
"avatar": "<string>",
"work_location_id": "<string>",
"legal_entity_id": "<string>"
}
}
]
}
}
}Get the list of users to provision, deprovision, and optionally update based on the users you’ve already provisioned in your system.
curl --request POST \
--url https://api.kombo.dev/v1/hris/provisioning-groups/{group_id}/diff \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Integration-Id: <x-integration-id>' \
--data '{
"provisioned_users": [
{
"origin_id": "your_id_123",
"email": "johndoe@example.com"
}
],
"options": {
"employee_fields": [
"id",
"first_name",
"last_name"
]
}
}'{
"status": "<string>",
"data": {
"users": {
"to_provision": [
{
"email": "<string>",
"employee": {
"id": "<string>",
"remote_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"groups": [
{
"id": "<string>",
"remote_id": "<string>",
"name": "<string>"
}
],
"avatar": "<string>",
"work_location_id": "<string>",
"legal_entity_id": "<string>"
}
}
],
"to_deprovision": [
{
"origin_id": "<string>",
"email": "jsmith@example.com"
}
],
"already_provisioned": [
{
"origin_id": "<string>",
"email": "jsmith@example.com",
"employee": {
"id": "<string>",
"remote_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"groups": [
{
"id": "<string>",
"remote_id": "<string>",
"name": "<string>"
}
],
"avatar": "<string>",
"work_location_id": "<string>",
"legal_entity_id": "<string>"
}
}
]
}
}
}ID of the integration you want to interact with.
ID of the provisioning group (currently only default is allowed).
POST /hris/provisioning-groups/:group_id/diff Request body
Was this page helpful?