Verify Driver's License for User and Tenant
PATCH /api/v1/users/:userId/tenants/:tenantId/drivers-license/verify
Description
This section contains endpoints related to driver's license verification.Helps to verify a user's driver's license.
Headers:
- Content-Type: application/json
- Authorization:
Bearer {{bearerToken}}
Request Body: A JSON object containing licenseNumber and dob (date of birth).
URL: /api/v1/users/:userId/tenants/:tenantId/drivers-license/verify
-
Query Parameters:
userId(Required): User IDtenantId(Required): Tenant ID
Response: The response is "OK" with a code of 200.
/api/v1/users/:userId/tenants/:tenantId/drivers-license/verify
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"licenseNumber": "<string>",
"dob": "<string>"
}
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 200
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/users/:userId/tenants/:tenantId/drivers-license/verify \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!