Skip to main content
POST

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
action
enum<string>
required
Available options:
set_status,
add_role,
remove_role,
update,
delete
value
string

For set_status, a status. For add_role and remove_role, a role. Not used by update or delete.

patch
object

For update only: the fields to set on every one of them.

ids
string[]

The people to change. Every one must exist, or nothing changes (404).

Maximum array length: 200
filter
string

Everybody the list would show for this query string, such as role=donor&status=active. At most 200 may match.

Response

What changed.

updated
integer
required

How many people changed.

action
string
required
value
string
required

The value you sent, or an empty string.

unchanged
integer

How many already had the value. Not sent for delete.