Get the API key
Home
Getting Started
Changelog
API Setup
SMS Messaging API
- Overview
- Quickstart
- Specification
- Sending SMS
- Receiving SMS
- Delivery Report
- SMPP setup
- HTTP API Reference
Omnichannel API
- Overview
- Quickstart
- Theory
- Sender Name
- Specification
- Requests & Authentication
- Development Libraries
- SMS Message
- WhatsApp Message
- Viber Message
- Telegram Message
- Delivery Report
- Scheduled Messages
- HELP
- API Reference
2FA API
- 2FA API
- API Request Authentication
- Creating Service
- Syncing Users
- Deleting users
- Starting Authentication
- PIN Code Verification
Number Lookup EARLY ACCESS
Phonebook API EARLY ACCESS
Subscription API EARLY ACCESS
Account Balance API
Pricing API
Statistics API EARLY ACCESS
Number Verification DEPRECATED
Tools
FAQ
Sending more than 100 000 SMS messages a month?
Contact salesVerification API Documentation
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
Changelog
API Setup
SMS Messaging API
- Overview
- Quickstart
- Specification
- Sending SMS
- Receiving SMS
- Delivery Report
- SMPP setup
- HTTP API Reference
Omnichannel API
- Overview
- Quickstart
- Theory
- Sender Name
- Specification
- Requests & Authentication
- Development Libraries
- SMS Message
- WhatsApp Message
- Viber Message
- Telegram Message
- Delivery Report
- Scheduled Messages
- HELP
- API Reference
2FA API
- 2FA API
- API Request Authentication
- Creating Service
- Syncing Users
- Deleting users
- Starting Authentication
- PIN Code Verification