Installer.com Docs
API ReferenceUsers
PUT
/api/routers/{routerId}/organizations/{organizationId}/users/{userId}

Update router user by organization

Path Parameters

userId*string
Formatuuid
organizationId*string
Formatuuid
routerId*string
Formatuuid

Request Body

application/json

Update user

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "http://localhost:8000/api/routers/7253b007-c14b-496f-833b-9e1aa7f1a27d/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/users/7253b007-c14b-496f-833b-9e1aa7f1a27d" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "email": "[email protected]",
  "emailVerified": "2019-08-24",
  "firstName": "string",
  "lastName": "string",
  "language": "string",
  "timezone": "string",
  "phoneNumber": "string",
  "phoneVerified": "2019-08-24",
  "lastLogin": "2019-08-24",
  "isSuperuser": true,
  "isTechnical": true,
  "avatarFileId": "string",
  "lastAccessAt": "2019-08-24",
  "deviceTokens": [
    "string"
  ],
  "piiRevealedAt": "2019-08-24",
  "updatedAt": "2019-08-24",
  "createdAt": "2019-08-24",
  "deletedAt": "2019-08-24",
  "routerId": "c3d4372d-3cfa-4618-a60e-50a4c920823d",
  "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
  "invitation": "27ae89cb-37f9-4363-87d4-06983a4ba04d",
  "isTechnicalAccount": true,
  "routerOrganizationId": "15569885-70ac-4d21-976e-98f95fd74e2c",
  "roles": [
    {
      "role": "OPERATOR"
    }
  ],
  "avatarUrl": "string"
}