Skip to main content
PATCH https://api.sonorancms.com/v2/community/accounts/00000000-0000-0000-0000-000000000000/ranks
Rate limit: 22 requests per minute
Authenticated v2 endpoints are rate limited per credential rather than per IP address.
Update the ranks assigned to an account.

Route Parameters

| Name | Type | Required | Description | | --- | --- | --- | --- | | accountId | string (uuid) | Yes | Target accountId. |

Request Body

| Name | Type | Required | Description | | --- | --- | --- | --- | | accId | string | Yes | See example request for the shape. | | add | array | Yes | See example request for the shape. | | active | boolean | Yes | See example request for the shape. |

Example Request

Response

The data object is the updated account row returned by the rank update service. It reflects the new ranks and community status after the update.