PATCH /v1/profile/password
PATCH/v1/profile/password
CodeMeta OS API endpoint.
Request Body
| Name | Typ | Beschreibung |
|---|
currentPassworderforderlich | string | |
newPassworderforderlich | string | |
Beispiel
curl -X PATCH https://api.codemeta-os.de/v1/profile/password \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"currentPassword": "string",
"newPassword": "string"
}'
const result = await cm.profile.patch({
"currentPassword": "string",
"newPassword": "string"
});
Antwortcodes
| HTTP |
Bedeutung |
200 |
Default Response |