Give one teammate a different Hive role, after a person approves this exact action in Hive. It cannot change the workspace owner, invite anyone, or remove anyone.

This reaches real people, so the person is asked before it runs. Their own AI client asks them. When the connection was made with Hive approvals switched on, the first call returns a single-use Hive approval link instead of acting, and the exact request is repeated with approvalToken and an Idempotency-Key once they approve it inside Hive.

post/api/v1/tools/set_member_role

Request

  • Base URL: https://hivepublish.com
  • URL: https://hivepublish.com/api/v1/tools/set_member_role
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Required on the approved retry; optional while requesting the initial approval challenge.

Request body

memberIdstring required

The teammate from read_team.

roleIdstring required

The role from read_team_roles.

approvalTokenstring

Single-use token returned by Hive after the owner approves this exact action.

Response

Tool result or approval challenge

OR

Changes

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