---
description: $client->client->account
---

# Account

### Get account details

```php
$client->client->account->details();
```

### Get 2fa details

```php
$client->client->account->twoFactorDetails();
```

### Enable 2fa

```php
$client->client->account->enableTwoFactor(string $code);
```

### Disable 2fa

```php
$client->client->account->disableTwoFactor(string $password);
```

### Update email

```php
$client->client->account->updateEmail(string $email, string $password);
```

### Update password

```php
$client->client->account->updatePassword(string $current_password, string $password, string $password_confirmation);
```

### List API keys

```php
$client->client->account->listApiKeys();
```

### Create API key

```php
$client->client->account->createApiKey(array $data);
```

### Delete API key

```php
$client->client->account->deleteApiKey(string $identifier);
```
