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

PATCH /v1/portal/users/{relationshipId}

PATCH/v1/portal/users/{relationshipId}

CodeMeta OS API endpoint.

Corps de la requête

NomTypeDescription
shopRoleIdstringnull

Paramètres de chemin

NomTypeDescription
relationshipIdobligatoirestring

Exemple

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
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche