Português (BR)
cURL
curl --request PUT \ --url https://memberkit.com.br/api/v1/users/{id} \ --header 'Content-Type: application/json' \ --data '""'
{ "id": 123, "full_name": "<string>", "email": "jsmith@example.com", "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.
The response is of type object.
object
Esta página foi útil?