Português (BR)
cURL
curl --request PUT \ --url 'https://memberkit.com.br/api/v1/users/{id}?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "full_name": "<string>", "email": "[email protected]", "password": "<string>", "bio": "<string>", "unlimited": true, "blocked": true, "time_zone": "<string>", "metadata": { "cpf_cnpj": "<string>", "phone_local_code": "<string>", "phone_number": "<string>" } } '
{ "id": 123, "full_name": "<string>", "email": "[email protected]", "bio": "<string>", "profile_image_url": "<string>", "blocked": true, "unlimited": true, "sign_in_count": 123, "current_sign_in_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "metadata": { "cpf_cnpj": "<string>", "phone_local_code": "<string>", "phone_number": "<string>" }, "enrollments": [ { "id": 123, "status": "inactive", "course_id": 123, "classroom_id": 123, "expire_date": "2023-12-25" } ], "memberships": [ { "id": 123, "status": "inactive", "membership_level_id": 123, "expire_date": "2023-11-07T05:31:56Z" } ] }
Atualiza um membro específico através do ID ou email.
POST /api/v1/users
blocked
ID do membro.
Nome completo.
Endereço de email.
Senha.
6
Bio.
Acesso ilimitado.
Status de banimento.
Fuso horário.
Metadados.
Mostrar atributos filhos
CPF/CNPJ.
DDD do telefone.
Número de telefone.
inactive
pending
active
expired
Esta página foi útil?