Translation Rules
Active Directory
Bulk Translation Rules Operations
This endpoint allows performing multiple translation rule operations (insert, update, delete) in a single request.
Sample Request
curl -X POST '[https://console.jumpcloud.com/api/v2/activedirectories/](https://console.jumpcloud.com/api/v2/activedirectories/){activedirectory_id}/translationrules/bulk' \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'x-api-key: {API_KEY}' \
-H 'x-org-id: {ORG_ID}' \
-d '{
"insertTranslationRule": [
{
"source": "title",
"destination": "jobTitle",
"sourceType": "PATH",
"direction": "EXPORT",
"appliedOn": [
"CREATE",
"UPDATE"
]
}
],
"updateTranslationRule": [
{
"objectId": "{RULE_ID_BASE64_1}",
"source": "department",
"destination": "customDepartmentV3",
"sourceType": "GOLANG_TEMPLATE",
"appliedOn": [
"UPDATE"
]
}
],
"deleteTranslationRuleObjectIds": [
"{RULE_ID_BASE64_2}",
"{RULE_ID_BASE64_3}"
]
}'
post/api/v2/activedirectories/{activedirectory_id}/translation-rules/bulk
Request
- Base URLhttps://console.jumpcloud.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-org-idstring
Organization identifier that can be obtained from console settings.
Request body
Response
Result of the bulk operation.
Changes
No recorded changes to this operation across all 1 revision of this API.