> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedora.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Activate or Remove Riders

### 📝 Summary

This endpoint activates a rider's account, allowing them to start accepting and completing delivery tasks. It is typically used after verifying the rider's details and compliance with platform requirements.

***

### Requests

##### Example

<Expandable>
  ```json theme={null}
  {
    "rider_uuids": "{{rider_uuid}}"
  }
  ```
</Expandable>

##### Params

<Expandable>
  | Name            | Location | Type   | Required | Description |
  | --------------- | -------- | ------ | -------- | ----------- |
  | `body`          | body     | object | no       | none        |
  | `rider_uuids[]` | body     | string | yes      | none        |
</Expandable>

### Responses

| HTTP Status Code                 | Meaning                                                          | Description | Data schema |
| -------------------------------- | ---------------------------------------------------------------- | ----------- | ----------- |
| <Badge color="green">200</Badge> | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)          | none        | Inline      |
| <Badge color="red">422</Badge>   | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none        | Inline      |

<ResponseExample>
  ```json sample response theme={null}
  {
  "status": "success",
  "data": {
      "uuid": "9dbb0847-a2ba-4cdb-b904-72fd9ab2f3bc",
      "riderid": "45689646",
      "name": "Nice Chimaobi",
      "address": "Aso housing estate, lugbe",
      "phone_number": "08028492844",
      "phone_code": "234",
      "email": "king@gmail.com",
      "vehicle_plate_number": "Ae93480G",
      "photo": "https://usedora-bucket-dev.s3.amazonaws.com/photos/oNhnn9x1fxoiPkJ3kbJUxYWNa6L4iusIChYI2B8G.jpg",
      "total_completed_delivery": 0,
      "active": false,
      "created_at": "2023-12-03T07:47:46.000000Z"
  }
  }
  ```
</ResponseExample>
