Skip to main content
POST
Count the members whose role a mapping change or removal would change

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Headers

Idempotency-Key
string

Replays the stored response for 24h when the same key is sent again (1–255 visible ASCII)

X-DevHelm-Client
string

Calling surface and version, e.g. cli/1.4.0 or sdk-js/2.0.0

Path Parameters

orgId
integer<int32>
required

Body

application/json

A role mapping change to preview

mappingId
string<uuid>
required

Mapping to change or remove

role
enum<string> | null

New role (not OWNER); null previews removing the mapping

Available options:
OWNER,
ADMIN,
MEMBER,
INCIDENT_AUTHOR,
VIEWER

Response

OK

data
object
required

What a role mapping change would do