Voice Biometrics User Groups
This describes the web services that manage voice biometric user groups.
Date formats
All dates are of the format YYYY-MM-DD_hh:mm:ss and are in Coordinated Universal Time (UTC).
Response content
All web services in this API return response content of type "application/json".
Note
This is a low level API. For information on higher level APIs see the Web Services Language Wrappers
Authorisation
This API uses basic authentication, using your cloud account username and API Access Key.
| Username | : cloudID/username (e.g. 1-2-0/bob@example.com) |
| Password | : API Access Key |
List
List the user groups.
Request
| URL | : https://ws-[cloudID].aculabcloud.net/ |
| Methods | : GET, POST |
| Parameter | Required/Optional | Default | Description |
|---|---|---|---|
| user_group_name | optional | the name of a user group. Omit to list all groups. |
Response
A JSON object containing a list of user group objects containing the following parameters:
| Parameter | Type | Availability | Description |
|---|---|---|---|
| name | string | always | the name of the user group. |
| created | string | always | the creation date and time of the user group. |
| registrations | integer | always | the number of registrations currently on the user group. |
Example
Request
https://ws-1-2-0.aculabcloud.net/voice_biometrics/v1/user_group/list
Response
{
"user_groups": [
{
"name": BobsCompany",
"created": "2021-01-15_08:56:24",
"registrations": 7
},
{
"name": "BillsCompany",
"created": "2020-12-09_15:22:14",
"registrations": 14
}
]
}
Create
This creates a user group.
Request
| URL | : https://ws-[cloudID].aculabcloud.net/ |
| Methods | : GET, POST |
| Parameter | Required/Optional | Default | Description |
|---|---|---|---|
| user_group_name | required | the name of the user group to create. The maximum length is 64 characters. Multiple consecutive spaces, and characters " ^ : are not supported. |
Response
A JSON object containing the following parameters:
| Parameter | Type | Availability | Description |
|---|---|---|---|
| created | string | always | the creation date and time of the user group. |
Example
Request
https://ws-1-2-0.aculabcloud.net/voice_biometrics/v1/user_group/create?user_group_name=BobsCompany
Response
{
"created": "2021-01-15_08:56:24"
}
Error Response
{
"error": {
"code": HTTP 403,
"text": "Forbidden: user group BobsCompany is already present",
"link": "https://docs.cloud.aculab.com/Web_Services_API/web_service_voice_biometrics_user_groups/#create",
"datetime": "2021-01-15_08:56:24"
},
"request": {
"url": "/voice_biometrics/v1/user_group/create",
"datetime": "2021-01-15_08:56:23"
}
}
Delete
This deletes a user group.
Request
| URL | : https://ws-[cloudID].aculabcloud.net/ |
| Methods | : GET, POST |
| Parameter | Required/Optional | Default | Description |
|---|---|---|---|
| user_group_name | required | the name of the user group to delete. |
Response
A JSON object containing the following parameters:
| Parameter | Type | Availability | Description |
|---|---|---|---|
| deleted | string | always | the deletion date and time of the user group. |
Example
Request
https://ws-1-2-0.aculabcloud.net/voice_biometrics/v1/user_group/delete?user_group_name=BobsCompany
Response
{
"deleted": "2021-01-15_08:56:24"
}
Error Response
{
"error": {
"code": HTTP 404,
"text": "Not found: user group BobsCompany was not found",
"link": "https://docs.cloud.aculab.com/Web_Services_API/web_service_voice_biometrics_user_groups/#delete",
"datetime": "2021-01-15_08:57:14"
},
"request": {
"url": "/voice_biometrics/v1/user_group/delete",
"datetime": "2021-01-15_08:57:13"
}
}