PATCH /v1/profile/password
PATCH/v1/profile/password
CodeMeta OS API endpoint.
Request body
| Naam | Type | Beschrijving |
|---|
currentPasswordvereist | string | |
newPasswordvereist | string | |
Voorbeeld
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"
});
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |