API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

PATCH /v1/profile/password

PATCH/v1/profile/password

CodeMeta OS API endpoint.

Request Body

NameTypBeschreibung
currentPassworderforderlichstring
newPassworderforderlichstring

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

Suche