Skip to content

Members

List members

Scope: members:read

Terminal window
curl https://app.rieck.nu/api/v1/members \
-H "Authorization: Bearer $RIECK_API_KEY"

Assign role

The last admin is protected. Privilege-escalation surface — grant members:manage sparingly.

Scope: members:manage

Terminal window
curl -X PATCH https://app.rieck.nu/api/v1/members/9b2f1c1e-… \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041" \
-d '{
"role": "admin"
}'
Request body — fuldt JSON Schema
{
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"required": [
"role"
],
"additionalProperties": false
}

Role catalogue

Scope: members:read

Terminal window
curl https://app.rieck.nu/api/v1/roles \
-H "Authorization: Bearer $RIECK_API_KEY"