API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

PATCH /v1/portal/users/{relationshipId}

PATCH/v1/portal/users/{relationshipId}

CodeMeta OS API endpoint.

Request Body

NameTypBeschreibung
shopRoleIdstringnull

Pfad-Parameter

NameTypBeschreibung
relationshipIderforderlichstring

Beispiel

curl -X PATCH https://api.codemeta-os.de/v1/portal/users/{relationshipId} \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "shopRoleId": null
}'
const result = await cm.portal.patch({
  "shopRoleId": null
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche