# Function: writeRequirement()

```ts
function writeRequirement(space, collection): Requirement;
```

Defined in: [packages/core/src/identity/abilities.ts:40](https://github.com/leifriksheim/minca/blob/main/core/src/identity/abilities.ts#L40)

What writing a version in a space needs: `/record/write`, with the space and the collection as arguments

## Parameters

| Parameter | Type |
| ------ | ------ |
| `space` | `string` |
| `collection` | `string` |

## Returns

[`Requirement`](https://minca.dev/api/core/interfaces/Requirement.md)
