Team

Update team member

Update team member information and role (Admin only)

patch/api/v1/team/{id}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/team/{id}
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

idstring uuid required

Resource UUID

Request body

namestring
role'admin' | 'manager' | 'agent'
status'active' | 'invited' | 'suspended'
phonestring nullable
jobTitlestring nullable
departmentstring nullable

Response

Updated

successtrue required
messagestring

Example response

{
  "data": {
    "email": "user@example.com",
    "name": "John Doe"
  }
}

Changes

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