Translation Rules
Active Directory
Preview of Translation Rules
This endpoint previews the translation rules for a user.
Sample Request
curl -X POST '[https://console.jumpcloud.com/api/v2/activedirectories/](https://console.jumpcloud.com/api/v2/activedirectories/){activedirectory_id}/translationrules/preview' \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'x-api-key: {API_KEY}' \
-H 'x-org-id: {ORG_ID}' \
-d '{
"userObjectId": "{USER_ID_HEX}",
"idmTranslationRules": [
{
"source": "department",
"destination": "customDepartment",
"sourceType": "PATH",
"direction": "IMPORT",
"appliedOn": [
"CREATE"
]
}
]
}'
post/activedirectories/translation-rules/preview
Request
- Base URLhttps://console.jumpcloud.com/api/v2
- 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 preview operation.
Changes
No recorded changes to this operation across all 1 revision of this API.