Team

Change what somebody may do

The last owner cannot be demoted, because a team with no owner is one nobody can manage.

patch/api/v1/teams/{id}/members/{userId}

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/teams/{id}/members/{userId}
  • Auth: API key in cookie better-auth.session_token

Path parameters

idstring required
userIdstring required

Request body

permissions'owner' | 'member' required

Response

The members as they now stand.

okunknown required

Changes

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