# Cisco Duo

> Read and manage Duo users, groups and phones; read authentication logs and administrative events.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/cisco-duo

## Actions

### Create group

Create group.

**Inputs**

- Name (`name`, text, required): Name.
- Desc (`desc`, text): Desc.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {
      "group_id": "example",
      "name": "example"
    },
    "stat": "example"
  }
}
```

### Create user

Create user.

**Inputs**

- Username (`username`, text, required): Username.
- Realname (`realname`, text): Realname.
- Email (`email`, text): Email.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {
      "user_id": "example",
      "username": "example"
    },
    "stat": "example"
  }
}
```

### Delete group

Delete group.

**Inputs**

- Group (`group_id`, text, required): Group.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": "example",
    "stat": "example"
  }
}
```

### Delete user

Delete user.

**Inputs**

- User (`duo_user_id`, text, required): User.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": "example",
    "stat": "example"
  }
}
```

### Get edition

Get edition.

**Inputs**: None.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {},
    "stat": "example"
  }
}
```

### Get group

Get group.

**Inputs**

- Group (`group_id`, text, required): Group.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {},
    "stat": "example"
  }
}
```

### Get info summary

Get info summary.

**Inputs**: None.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {},
    "stat": "example"
  }
}
```

### Get phone

Get phone.

**Inputs**

- Phone ID (`phone_id`, text, required): Phone ID.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {},
    "stat": "example"
  }
}
```

### Get telephony credits

Get telephony credits.

**Inputs**: None.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {},
    "stat": "example"
  }
}
```

### Get user

Get user.

**Inputs**

- User (`duo_user_id`, text, required): User.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {},
    "stat": "example"
  }
}
```

### List administrator logs

List administrator logs.

**Inputs**

- Mintime (`mintime`, date and time, required): Mintime.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": [],
    "stat": "example"
  }
}
```

### List authentication logs

List authentication logs.

**Inputs**

- Mintime (`mintime`, date and time, required): Mintime.
- Maxtime (`maxtime`, date and time, required): Maxtime.
- Limit (`limit`, number): Limit. From 1 to 1000.
- Next offset (`next_offset`, list): Next offset.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {
      "authlogs": [],
      "metadata": {
        "next_offset": []
      }
    },
    "stat": "example"
  }
}
```

### List group users

List group users.

**Inputs**

- Group (`group_id`, text, required): Group.
- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": [],
    "stat": "example"
  }
}
```

### List groups

List groups.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": [],
    "stat": "example"
  }
}
```

### List phones

List phones.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": [],
    "stat": "example"
  }
}
```

### List user groups

List user groups.

**Inputs**

- User (`duo_user_id`, text, required): User.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": [],
    "stat": "example"
  }
}
```

### List user phones

List user phones.

**Inputs**

- User (`duo_user_id`, text, required): User.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": [],
    "stat": "example"
  }
}
```

### List users

List users.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Offset (`offset`, number): Offset. At least 0.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": [],
    "stat": "example"
  }
}
```

### Update group

Update group.

**Inputs**

- Group (`group_id`, text, required): Group.
- Name (`name`, text): Name.
- Desc (`desc`, text): Desc.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {
      "group_id": "example",
      "name": "example"
    },
    "stat": "example"
  }
}
```

### Update user

Update user.

**Inputs**

- User (`duo_user_id`, text, required): User.
- Realname (`realname`, text): Realname.
- Email (`email`, text): Email.
- Status (`status`, text): Status. One of: `active`, `bypass`, `disabled`.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "response": {
      "user_id": "example",
      "username": "example"
    },
    "stat": "example"
  }
}
```
