PUT
/
api
/
v2
/
member
/
id
/
{id}
curl --request PUT \
  --url https://chat.api.toolzz.com.br/api/v2/member/id/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "id": "<string>",
  "institutionId": "<string>",
  "unityId": "<string>",
  "userId": "<string>",
  "name": "<string>",
  "email": "<string>",
  "access": "<string>",
  "status": 123,
  "acceptedAt": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "user": {
    "id": "<string>",
    "name": "<string>",
    "lastName": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "password": "<string>",
    "imgProfileId": "<string>",
    "rememberMeToken": "<string>",
    "verified": true,
    "isMember": true,
    "institutionId": "<string>"
  }
}

Body Description

id
string
required

The Id of the Member

Response Description

Below you will see the description of the member response

message
string
required

Message indicating the result of the operation.

id
string
required

Unique identifier of the member.

institutionId
string
required

ID of the associated institution.

unityId
string
required

ID of the associated unity.

userId
string
required

ID of the associated user.

name
string
required

Name of the member.

email
string
required

Email address of the member.

access
string
required

Access level of the member.

status
number
required

Status indicator, 1 for active, 0 for inactive.

acceptedAt
string
required

Timestamp indicating when the member was accepted.

createdAt
string
required

Timestamp indicating when the record was created.

updatedAt
string
required

Timestamp indicating when the record was last updated.

user
object
required

Details of the associated user.

Segurança

Para acessar este endpoint, é necessário enviar um token de acesso válido através do cabeçalho de autorização (Authorization) da requisição. Além disso, a API é protegida por outras medidas de segurança para proteger os dados dos usuários.