Teams

Update team member

Changed on
patch/teams/{teamId}/members/{userId}

Request

  • Base URL
    https://api.getmaintainx.com/v1
  • Auth
    HTTP bearer

Path parameters

teamIdinteger required

ID of the team

userIdinteger required

User ID of the member

Query parameters

skipWebhookboolean

Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks

Request body

teamRole'ADMIN' | 'MEMBER'

Example request

{
  "teamRole": "MEMBER"
}

Response

Successfully edited team member

Example response

{
  "member": {
    "id": 963,
    "firstName": "John",
    "lastName": "Doe",
    "teamRole": "MEMBER"
  }
}

Changes

    • breaking

      removed the media type application/octet-stream from the request body

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional query request parameter skipWebhook

    • info

      added the required property to the response with the status