PATCH /v1/portal/users/{relationshipId}
PATCH/v1/portal/users/{relationshipId}
CodeMeta OS API endpoint.
Request Body
| Name | Typ | Beschreibung |
|---|
shopRoleId | stringnull | |
Pfad-Parameter
| Name | Typ | Beschreibung |
|---|
relationshipIderforderlich | string | |
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 |