account

Change the role of a live member of the organization this request is bound to.

Change the role of a live member of the organization this request is bound to. Only an Owner can grant or change the Owner role. The last Owner cannot be demoted.

Org permission: member:write.

patch/v1/orgs/members/{user_id}

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/orgs/members/{user_id}
  • Auth: HTTP bearer

Path parameters

user_idstring required

Request body

usernamestring
role'owner' | 'member' | 'billing' required

Response

Success.

user_idstring required
role'owner' | 'member' | 'billing' required

Changes

No recorded changes to this operation across all 1 revision of this API.