identity
members
business
customer-session

Assign a role to a member

Changed on

Commits a reviewed member role assignment with fresh factor proof and an Idempotency-Key. Returns the original operation receipt on retry without spending proof again or reading a newer role. Fresh changes require current roles_manage in an enforced business.

post/identity/members/{id}/role

Request

  • Base URL
    https://api.stablesea.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: Idempotency-Key

Path parameters

idstring required

Headers

Idempotency-Keystring required

Request body

expected_revisionstring required
passkeystring
proofstring
role_keystring required
role_kind'preset' | 'custom' required

Response

OK

outcome'committed' | 'refused' | 'unknown' required

Changes

    • breaking

      added the new required header request parameter Idempotency-Key

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    4 more changes in this revision