Skip to content

Members

List members

members:read
Request exampleNo request body
curl https://api.rieckflow.com/v1/members \
-H "Authorization: Bearer $RIECK_API_KEY"
200 Success envelopeapplication/json
Response fields 3
FieldTypeDescription
data.userIduuidStable user id.
data.rolestringRole key accepted by the member update endpoint.
data.primarybooleanWhether this is the organisation’s primary member.
Possible errors 4
HTTPCodeMeaning
401invalid_api_keyThe API key is missing, invalid, expired or revoked.
403api_not_includedThe organisation’s plan does not include API access.
403insufficient_scopeThe key does not have the required scope.
429rate_limitedThe organisation’s rate budget is exhausted.

Assign role

members:manage

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

ParameterInTypeRequiredDescription
userIdpathstringYes
Request body fields 1
FieldTypeRequiredDescription
rolestringYesField in the request payload.
Request exampleapplication/json
curl -X PATCH https://api.rieckflow.com/v1/members/9b2f1c1e-… \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041" \
-H "Content-Type: application/json" \
-d '{
"role": "admin"
}'
200 Success envelopeapplication/json
Response fields 3
FieldTypeDescription
data.userIduuidStable user id.
data.rolestringRole key accepted by the member update endpoint.
data.primarybooleanWhether this is the organisation’s primary member.
Possible errors 9
HTTPCodeMeaning
400invalid_idempotency_keyIdempotency-Key is missing or malformed.
400invalid_requestThe request body or parameter failed validation.
401invalid_api_keyThe API key is missing, invalid, expired or revoked.
403api_not_includedThe organisation’s plan does not include API access.
403insufficient_scopeThe key does not have the required scope.
409idempotency_conflictThe same key was used with a different request.
409idempotency_in_progressThe same operation is currently being processed. Retry later.
413payload_too_largeThe JSON or uploaded file exceeds this endpoint’s size limit.
429rate_limitedThe organisation’s rate budget is exhausted.
Request body — fuldt JSON Schema
{
"type": "object",
"properties": {
"role": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"required": [
"role"
],
"additionalProperties": false
}

Role catalogue

members:read
Request exampleNo request body
curl https://api.rieckflow.com/v1/roles \
-H "Authorization: Bearer $RIECK_API_KEY"
200 Success envelopeapplication/json
Possible errors 4
HTTPCodeMeaning
401invalid_api_keyThe API key is missing, invalid, expired or revoked.
403api_not_includedThe organisation’s plan does not include API access.
403insufficient_scopeThe key does not have the required scope.
429rate_limitedThe organisation’s rate budget is exhausted.