Disable user
disable_userDisables a midPoint user by setting activation to disabled using their OID and matching login name; mismatched names are refused, and writes return dry-run previews until enabled.
Instructions
Disable a midPoint user (activation → disabled). userName is the user's midPoint name (their login, not the full name); the call is refused when it doesn't match the OID, so the person confirming it reads the right name. Requires the write gate; otherwise a dry-run preview. When you write to a person, name people, roles and requests by their display names rather than OIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oid | Yes | OID of the user | |
| userName | Yes | the user's midPoint name (their login, not the full name); must match oid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | the JSON body of the midPoint REST request, when it has one | |
| dryRun | Yes | ||
| method | Yes | ||
| result | No | ||
| applied | Yes | ||
| summary | Yes | ||
| endpoint | Yes |