Organizations

Update an organization user

patch/api/organizations/{id}/users/{userId}

Request

  • Base URL: https://ewihub.posechecker.com (the document declares no server; this is the origin it was published from)
  • URL: https://ewihub.posechecker.com/api/organizations/{id}/users/{userId}
  • Auth: HTTP bearer

Path parameters

idstring required
userIdstring required

Request body

usernamestring

Username

passwordstring

User password

Response

idstring required

User ID

firstNamestring required

First name

lastNamestring required

Last name

emailstring required

Email address

usernamestring required

Username

role'superAdmin' | 'orgUser' required

User role

organizationstring

Organization ID

createdAtstring date-time required

User creation timestamp

updatedAtstring date-time required

User update timestamp

Example response

{
  "id": "507f1f77bcf86cd799439011",
  "firstName": "John",
  "lastName": "Doe",
  "email": "john.doe@example.com",
  "username": "john_doe",
  "role": "orgUser",
  "organization": "507f1f77bcf86cd799439011",
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-01T00:00:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.