curl --request POST \
--url http://co-mind-platform-host/v1/auth/change-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currentPassword": "<string>",
"newPassword": "<string>"
}
'{
"message": "<string>"
}Change the authenticated user’s password.
curl --request POST \
--url http://co-mind-platform-host/v1/auth/change-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currentPassword": "<string>",
"newPassword": "<string>"
}
'{
"message": "<string>"
}Bearer token authentication. Supports two token types:
POST /v1/auth/loginPOST /v1/api-tokens, format: cmnd_<tokenId>.<secret>Password changed