QuickSense API
  • Introduction
  • Authentication
  • Errors
  • Core Resources
    • Enrolments
      • The enrolment object
      • Create a user and add into a course
      • Create a user and add into a classroom
      • Remove user from a course
      • Remove user from a classroom
    • Users
      • The user object
      • Retrieve a user
      • Update a user
      • Delete a user
      • List all users
    • Courses/Classrooms
      • The courses object
      • List all clasrooms/courses
Powered by GitBook
On this page

Was this helpful?

  1. Core Resources
  2. Users

Update a user

Update the firstname and lastname of a user

Update User Details

PATCH https://api.cakes.com/api/v2/public/user/

This endpoint allows you to update a user's first and last name by their email address.

Headers

Name
Type
Description

ApiKey

string

School's API Key

Email

string

User email address

Request Body

Name
Type
Description

FirstName

string

User's First Name

LastName

string

User's Last Name

{
    firstName: string,
    lastName: string,
    Email: string,
    lastLogin: datetime       
}
{
    "message": "The user with given email address could not be found!" 
}

PreviousRetrieve a userNextDelete a user

Last updated 4 years ago

Was this helpful?