{
"username": "string",
"password": "string",
"role": "pelanggan"
}
curl --location --request PATCH 'https://kereta.api.fadhilkholaf.my.id/user/' \
--header 'Cookie: token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "string",
"password": "string",
"role": "pelanggan"
}'
{
"message": "string",
"data": {
"id": "string",
"username": "string",
"password": "string",
"role": "pelanggan",
"createdAt": "string",
"updatedAt": "string"
}
}