This endpoint helps you to update the role of a team member.
PUT https://api.featureos.app/api/v3/teams/:id
Headers
Parameter | Default | Description | |
---|---|---|---|
API-KEY | - | Generate from organization settings on the admin dashboard. | |
Authorization | - | Generate a unique JWT token specific to a user. |
Query Parameters
Parameter | Required | Format | Description | |
---|---|---|---|---|
role | true | String | Valid roles (supports 'admin', 'member' and 'csm') |
Sample Response
{ "id": 23, "user": { "name": "Developer", }, "admin": false, "role": "member", "created_at": "2022-10-02T04:36:02.000Z", "updated_at": "2022-11-03T04:36:02.000Z"}