API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

PATCH /v1/profile

PATCH/v1/profile

CodeMeta OS API endpoint.

Corps de la requête

NomTypeDescription
namestring
firstNamestring
lastNamestring
displayNamestring
imagestring
phonestring
languagestring
timezonestring

Exemple

curl -X PATCH https://api.codemeta-os.de/v1/profile \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "name": "string",
  "firstName": "string",
  "lastName": "string",
  "displayName": "string",
  "image": "string",
  "phone": "string",
  "language": "string",
  "timezone": "string"
}'
const result = await cm.profile.patch({
  "name": "string",
  "firstName": "string",
  "lastName": "string",
  "displayName": "string",
  "image": "string",
  "phone": "string",
  "language": "string",
  "timezone": "string"
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche