Get the API key
Home
Getting Started
Knowledge Base
Changelog
API Setup
Omnichannel API
- Overview
- Quickstart
- Theory
- Sender Name
- Specification
- Requests & Authentication
- Development Libraries
- SMS Message
- WhatsApp Message
- Viber Message
- Delivery Report
- Scheduled Messages
- Inbound Messages
- HELP
- API Reference
SMPP
Number Lookup
Phonebook API
Bulk Messaging API EARLY ACCESS
Subscription API
Account Balance API
Pricing API
Statistics API EARLY ACCESS
Number Verification
SMS Messaging API DEPRECATED
- Overview
- Quickstart
- Specification
- Sending SMS
- Receiving SMS
- Delivery Report
- HTTP API Reference
2FA API DEPRECATED
- 2FA API
- API Request Authentication
- Creating Service
- Syncing Users
- Deleting users
- Starting Authentication
- PIN Code Verification
Tools
FAQ
Sending more than 100 000 SMS messages a month?
Contact salesVerification API Documentation
The API has been deprecated. Looking to build a one-time phone verification? Use our Number Verification API instead for a more flexible solution
Removing User from Service
Sometimes you may want to remove a user from your Verigator Service, e.g you are deleting a user from your main service.
Request URL
Request to remove a user will be made to the following URL:
DELETE https://api.verigator.com/v1/service/service/{ServiceId}/users/{UserId}
Where {ServiceId} and {UserId} in the URL will be replaced with your ServiceID and UserID.
Request headers
HTTP header | Description | Required |
---|---|---|
X-Service-Auth | Refer to authentication section on how to authenticate your API calls with Messente API username and password | Yes |
Response body (JSON encoded)
Key | Value |
---|---|
- | - |
HTTP Response Codes
STATUS code | Value | Description |
---|---|---|
202 | Accepted | User successfully deleted |
401 | Authentication required | Missing authentication headers (X-Service-Auth) |
403 | Forbidden | Forbidden request |
404 | Not found | Service or user with specified ids not found |
EXAMPLES
from messente.verigator.api import Api
# Initialize API
api = Api("messente-api-username", "messente-api-password")
# Create your service
service = api.services.get("my-service-id")
# Delete user from your Service
api.users.delete(service.id, "+xxxxxxxxxxx", "username")
public static final String API_USERNAME = "";
public static final String API_PASSWORD = "";
public static final String VERIGATOR_SERVICE_ID = "";public static final String VERIGATOR_USER_ID = "";// Initialize the Verigator API with your Messente API credentials
Verigator verigator = new Verigator(API_USERNAME, API_PASSWORD);
# Delete user from your Service
Service service = new Service(VERIGATOR_SERVICE_ID, verigator);User user = new User(service, VERIGATOR_USER_ID);user.delete();
Search results
0 items found Get the API key
Home
Getting Started
Knowledge Base
Changelog
API Setup
Omnichannel API
- Overview
- Quickstart
- Theory
- Sender Name
- Specification
- Requests & Authentication
- Development Libraries
- SMS Message
- WhatsApp Message
- Viber Message
- Delivery Report
- Scheduled Messages
- Inbound Messages
- HELP
- API Reference
SMPP
Number Lookup
Phonebook API
Bulk Messaging API EARLY ACCESS
Subscription API
Account Balance API
Pricing API
Statistics API EARLY ACCESS
Number Verification
SMS Messaging API DEPRECATED
- Overview
- Quickstart
- Specification
- Sending SMS
- Receiving SMS
- Delivery Report
- HTTP API Reference
2FA API DEPRECATED
- 2FA API
- API Request Authentication
- Creating Service
- Syncing Users
- Deleting users
- Starting Authentication
- PIN Code Verification