PUT
/
api
/
v1
/
users
/
{id}
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 os dados básicos de um membro. Use esta rota para alterar senha, endereço de email, entre outros campos do perfil. Esta rota não realiza alteração de matrículas.

Authorizations

api_key
string
query
required

Path Parameters

id
string
required

ID do membro.

Body

application/json
full_name
string

Nome completo.

email
string

Endereço de email.

bio
string

Bio.

unlimited
boolean

Acesso ilimitado.

blocked
boolean

Status de banimento.

time_zone
string

Fuso horário.

deleted_at
string

Data de arquivamento.

metadata
object

Metadados.

Response

200 - application/json
id
integer
required
full_name
string
required
email
string
required
bio
string
required
profile_image_url
string | null
required
blocked
boolean
required
unlimited
boolean
required
sign_in_count
integer
required
current_sign_in_at
string | null
required
created_at
string
required
updated_at
string
required
metadata
object
required
enrollments
object[]
required
memberships
object[]
required