curl --request POST \
--url https://api.example.com/users \
--header 'Content-Type: application/json' \
--data '{}'{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"name": "Maria Souza",
"email": "maria@email.com",
"role": "member",
"createdAt": "2024-02-15T12:00:00.000Z"
}
Concede acesso a um novo membro (ou administrador secundário) no contexto do atual Tenant. Requer permíssao admin.
curl --request POST \
--url https://api.example.com/users \
--header 'Content-Type: application/json' \
--data '{}'{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"name": "Maria Souza",
"email": "maria@email.com",
"role": "member",
"createdAt": "2024-02-15T12:00:00.000Z"
}
admin, member).{
"id": "e4b6d4e8-8e6d-41da-abdb-8fc358a9e7f1",
"name": "Maria Souza",
"email": "maria@email.com",
"role": "member",
"createdAt": "2024-02-15T12:00:00.000Z"
}
The body is of type object.