---
description: $client->client->server->allocations
---

# Server -> Network (allocations)

### List allocations

```php
$client->client->server->allocations->list(string $serverIdentifier);
```

### Assign allocation

```php
$client->client->server->allocations->assign(string $serverIdentifier);
```

### Set allocation note

```php
$client->client->server->allocations->setNote(string $serverIdentifier, int $allocationId, string $notes);
```

### Set primary allocation

```php
$client->client->server->allocations->setPrimary(string $serverIdentifier, int $allocationId);
```

### Unassign allocation

```php
$client->client->server->allocations->unassign(string $serverIdentifier, int $allocationId);
```
