Skip to content

POST /api/auth/me

Change the list of the disabled services

WARNING

URL of Onlinesim server is provided by Onlinesim partner support specialists. Please note, that the URL in the example is just a placeholder.

This request allows to add services to the blacklist preventing them to be used for SMS activation on your numbers.

This request might come in handy when you use your numbers for SMS verification for your own purposes or projects. It will block these services on your account entirely immediately assigning them USED status and preventing them to be issued to the clients.

TIP

This request modifies the whole blacklist, so if you want to add a new service to it, you should also include those services that were on the list before.

DANGER

This blacklist doesn't work for the rent: rental phone numbers WILL BE ABLE TO RECEIVE SMS FROM BLACKLISTED SERVICES.

Parameters

NameTypeDescription
Authorization*string

see more here

Example:Bearer apikey

Request Body

Payload for saveConfig request

Content-Type:application/json
Bodyobject
disabled_serviceobject

Responses

200

Onlinesim server response

Code Samples