[Spce-user] How to View and Edit Subscriber Locks via API

rkrenn at sipwise.com rkrenn at sipwise.com
Thu Apr 23 03:45:37 EDT 2026


You can use the ngcp-customer-exporter for that purpose.

br

-----Ursprüngliche Nachricht-----
Von: Ml Ml via Spce-user <spce-user at lists.sipwise.com> 
Gesendet: Donnerstag, 23. April 2026 09:37
An: Marco Capetta <mcapetta at sipwise.com>
Cc: spce-user at lists.sipwise.com
Betreff: Re: [Spce-user] How to View and Edit Subscriber Locks via API

Hello Marco,

mein fist goal is to write a nagios check to monitor locked subscribers.

Fetching all 20k subscribers and checking for the lock attribute is a long task, i was wondering of there is a faster way.
The WebUI must fetch ist somehow quick, too?!

Cheers,
Mario

On Wed, Apr 22, 2026 at 3:22 PM Marco Capetta via Spce-user <spce-user at lists.sipwise.com> wrote:
>
> Hi,
>
> if I got properly you asked how to lock subscriber, or numbers or IP, right?
> To lock/unlock a subscriber you can simply edit its "lock" property in the " /api/subscribers" API, or change is trough the "lock" preference.
>
> For number or IPs, you need to be more specific about the request, what do you exactly want to lock?
>
> Thank you
> Marco
>
>
> On Wed, Apr 22, 2026 at 11:05 AM Ml Ml via Spce-user <spce-user at lists.sipwise.com> wrote:
>>
>> Hello,
>>
>> how can view and edit (unlock/lock) Subscribers/Numbers/IPs in the API?
>> I wasnt able to find it in the DOCs :( Maybe its "somehow special"?
>>
>> Cheers,
>> Mario
>>
>> --
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>
> --
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com

--
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com



More information about the Spce-user mailing list