← Home
License Validation
License Validation
This endpoint updates and validates the license of user i.e. Broker Registration Number (BRN or Broker License Number (BLN).If the license is valid, it is updated.The BLN should match Agency's Trade License.
🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| id | string | Optional | The ID of the user. | 123 |
| Accept | string | Optional | application/json | |
| validation_type | string | Optional | The type of license to validate. This is should beblnfor Broker License Number (BLN) andbrnfor Broker Registration Number (BRN). | |
| license_number | string | Optional | The license number to validate. | |
| message | string | Optional | A general message regarding the license validation operation. | |
| status | string | Optional | The status of license validation. This could bevalid,invalidorpending. |
Responses
200✅
400⚠️
401⚠️
403⚠️
Code Examples
curl --location 'https://api.bayut.com/v1/users//license/validate' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"validation_type": "bln",
"license_number": "123123"
}'{
"message": "Broker License Number (for Abu Dhabi & Al Ain) Validated Successfully!",
"status": "valid"
}