user:disablelogin | ||
---|---|---|
Description: | ||
Disallow user to login with an id/password. Passing either a loginId or a userId is allowed. |
||
Input Params | ||
name | type | Description |
userId | string | |
loginId | string | |
Output Type | ||
type | ||
KalturaUser | ||
Errors | ||
USER_LOGIN_ALREADY_DISABLED,User is already not allowed to login | ||
PROPERTY_VALIDATION_CANNOT_BE_NULL,The property "%s" cannot be NULL | ||
USER_NOT_FOUND,User was not found | ||
CANNOT_DISABLE_LOGIN_FOR_ADMIN_USER,Login cannot be disabled for admin users | ||
Example HTTP Hit | ||
http://www.kaltura.com/api_v3/?service=user&action=disablelogin POST fields: userId loginId |