Update Unified Model ​
Update an existing unified model. You can rename it, modify its category, or update resource definitions, etc.
Endpoint ​
PATCH /unified-model/{id}Path parameters ​
The ID of the unified model to update.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338Request Body ​
The new name of the unified model, if you want to rename it.
user-directoryThe new category, if you want to change it.
communicationA brief description of what this unified model represents.
This model provides a user directory interface for various HRIS integrations.Updated map of resource name → UnifiedModelResource.
The ID of the team that owns this unified model.
05daecaf-4365-42e8-8370-8127de5dd717The current version of the unified model. Required to prevent version conflicts.
3Per-resource documentation.
Per-resource OAuth/permission scopes required to call its methods.
Per-resource webhook routing expression (JSONata).
Response Body ​
The ID of the unified model.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338The name of the unified model.
user-directoryThe category of the unified model.
hrisA brief description of what this unified model represents.
This model provides a user directory interface for various HRIS integrations.The ID of the team that owns this unified model.
05daecaf-4365-42e8-8370-8127de5dd717The sharing policy of the unified model.
allowaskdeny
denyMap of resource name (e.g. users, contacts) → resource definition (UnifiedModelResource).
{
"users": {
"description": "A resource representing user objects",
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"integration_mapping": {
"my_integration": {
"list": {
"resource": "/users",
"method": "get"
}
}
}
}
}Per-resource documentation (pricing plan / scopes / instructions).
Per-resource OAuth/permission scopes required to call its methods.
Per-resource webhook routing expression (JSONata that decides whether an inbound webhook should be delivered to this resource).
The date and time when the unified model was created.
2021-08-10T10:00:00.000ZThe date and time when the unified model was last updated.
2021-08-10T10:30:00.000ZThe current version of the unified model.
3A list of environment IDs where this unified model is installed.
The team object that owns this unified model.
The ID of the team.
05daecaf-4365-42e8-8370-8127de5dd717The name of the team.
My Awesome TeamThe domain of the team.
example.comThe URL of the team's logo.
https://example.com/logo.pngWhether the team is verified or not.
trueWhether the team is white-labeled or not.
A link to the team's Terms of Service, if available.
https://example.com/tosWhether the team allows impersonation.
The date and time when the team was created.
2021-08-10T10:00:00.000ZThe date and time when the team was last updated.
2021-08-10T10:00:00.000Z