You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(okta): describe each user param the way its endpoint accepts it (#7307)
Okta's Management API spec uses two distinct user path parameters. `pathId`
("An ID, login, or login shortname ... of an existing Okta user") backs
`/api/v1/users/{id}` and every `/api/v1/users/{id}/lifecycle/*` operation.
`pathUserId` and `pathAppUserId` ("ID of an existing Okta user") back the
factors, roles, sessions, and membership paths.
Every Okta `userId` param is `user-or-llm`, so its description is the only
thing a model reads before choosing what to pass. Eight tools on `pathUserId`
endpoints advertised "User ID or login", so a model that supplied an email got
a 404; `delete_user` sits on a `pathId` endpoint but promised an ID only, so a
model resolved an ID it never needed.
Tightened: assign_user_role, list_user_roles, remove_user_role, enroll_factor,
list_factors, get_factor, reset_factor, clear_user_sessions.
Loosened: delete_user.
A registry-derived test classifies each Okta tool by the path its own `url`
builder produces, so a future tool is covered without a hardcoded list.
|`userId`| string | Yes |User ID or login the factor belongs to |
782
+
|`userId`| string | Yes |Okta user ID \(not a login or email\) the factor belongs to |
783
783
|`factorId`| string | Yes | Factor ID to unenroll |
784
784
|`removeRecoveryEnrollment`| boolean | No | Also remove the phone number as a recovery method, not only as a factor. Applies to sms and call factors only \(default: false\)|
785
785
@@ -822,7 +822,7 @@ Revoke every active Okta session for a user, signing them out of all devices imm
822
822
| --------- | ---- | -------- | ----------- |
823
823
|`apiKey`| string | Yes | Okta API token for authentication |
|`userId`| string | Yes |User ID or login to revoke the admin role from |
1200
+
|`userId`| string | Yes |Okta user ID \(not a login or email\) to revoke the admin role from |
1201
1201
|`roleAssignmentId`| string | Yes | Role assignment ID to revoke, as returned by List User Roles. For a custom role this is the resource set binding ID |
0 commit comments