`PUT /api/directory` route. Requires `create_directory` role. `DELETE /api/directory` corresponding route requiring same.