API error · HTTP 403

team_change_not_permitted

protected owner/self or a role above the manager's authority.

What it means

protected owner/self or a role above the manager's authority.

How to handle it

Choose an allowed team member or role transition; protected owner and self changes require a different administrator flow.

Wire contract

Codeteam_change_not_permitted
Classpermission
HTTP status403
Meta keysNone
RaisedYes

The response uses the standard {"error": {…}} envelope. Branch on error.code, not the human-readable message. Preserve request_id when reporting a failure.