# API Entity Model

Used to represent API entity related to given resource.

| Key         | Type                    | Description    |
|-------------|-------------------------|----------------|
| entity_type | enum: ["token", "user"] | Type of entity |
| entity_id   | misc                    | ID of entity   |

## Example - token entity:

```json
{
    "entity_type": "token",
    "entity_id": 491
}
```

## Example - user entity:

```json
{
    "entity_type": "token",
    "entity_id": "24ef9f75-90da-4bae-a5a7-b5361dda718a"
}
```
