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

# Demote member

> Move somebody down one role.

> [!NOTE]
>
> Needs the `ranking:write` permission on a workspace key.

**robloxId** `string` *required*

Their Roblox user id.

**reason** `string`

Optional. Shown in the audit log.

```bash cURL theme={null}
curl -X POST https://api.coveapp.cc/v1/ranking/demote \
  -H "Authorization: Bearer $COVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"robloxId":"1234567"}'
```

**data** `object`

The result of the demotion.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.