Account
Representa a las cuentas de usuario. Una cuenta de usuario se utiliza para registrarse,
iniciar sesión e identificarse en el API.
Modelo Account
{
"id": 2,
"email": "maria.ortiz@manzanares.com.ve",
"type": 127,
"status": 240,
"created_at": "2019-02-13 14:53:13",
"updated_at": "2019-12-03 20:31:44",
"deleted_at": null,
"type_name": "admin",
"status_info": {
"disabled": false,
"blocked": false,
"unverified": true,
"unconfirmed": false,
"active": true
}
}
Listar Account
{info} Soporta:
Paginación
Filters
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/accounts |
Authorization |
Listar Setting
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/accounts/{accountId}/settings |
Authorization |
Mostrar Account
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/accounts/{accountId} |
Authorization |
Eliminar Account
Método |
URI |
Cabeceras |
DELETE |
/companies/{companyId}/accounts/{accountId} |
Authorization |
Restaurar Account
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/restore |
Authorization |
Acciones de Account
Verify Phone
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/verify-phone/{code} |
N/A |
{
"phone": "required|string"
}
Send Phone Code
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/send-phone-code |
N/A |
{
"phone": "required|string"
}
Disable
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/disable |
Authorization |
Block
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/block |
Authorization |
Activate
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/activate |
Authorization |
Update Password
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/update-password |
Authorization |
{
"old_password": "required|min:5",
"new_password": "required|min:5|different:old_password"
}
Update Email
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/accounts/{accountId}/update-email |
Authorization |
{
"email": "required|email:rfc,filter"
}
Index Allowed
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/accounts/{accountId}/allowed-settings |
Authorization |
Enlaces de Account