async function createApiKey(req, res) {
    const scope = req.body.scope || ['dashboard:write', 'dashboard:read'];
    const session = await gladys.session.createApiKey(req.user.id, scope);
    res.status(201).json(session);
  }
@api {post} /api/v1/session/api_key createApiKey
@apiName createApiKey
@apiGroup Session