Device API > BS2_RemoveAuthOperatorLevelEx
[+ 2.6.3] Removes selected as userIDs device operator. (Support operator up to 1000)
When using BS2_SetAuthConfig, BS2_GetAuthConfig, there is a limitation that you can set operators up to 10.
The new API below accommodates setting operators up to 1,000.
#include "BS_API.h" int BS2_RemoveAuthOperatorLevelEx(void* context, BS2_DEVICE_ID deviceId, BS2_USER_ID* userIDs, uint32_t userIDCount);
context
: ContextdeviceId
: Device IDuserIDs
: User ID trying to remove userIDCount
: Number of user trying to remove
If successfully done, BS_SDK_SUCCESS
will be returned. If there is an error, the corresponding error code will be returned.