> ## 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.

# Deactivate Riders

### 📝 Summary

This endpoint deactivates a rider's account, preventing them from accepting or completing delivery tasks. It is typically used for riders who violate platform policies, are inactive for extended periods, or are temporarily suspended.

***

### Requests

##### Example

<Expandable>
  **Description:**

  ```json theme={null}
  "rider_uuids[]": "{{rider_uuid}}"

  ```
</Expandable>

##### Params

<Expandable>
  **Description:**

  | 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",
  "message": "Riders deactivated successfully"
  }
  ```
</ResponseExample>
