TIS Training API Documentation
  • Welcome!
  • Quick Start
  • Managing Users
  • Single Sign On (SSO)
    • General Options
    • Role and Group Mappings
    • Connection Types
      • Microsoft Entra ID (Formerly Azure AD)
      • Google Workspace
      • OpenID Connect (OIDC)
      • SAML (Security Assertion Markup Language)
  • SCORM Packages
  • Webhooks
  • API Reference
    • Users
      • 🔵GET users
      • 🔵GET users/seats
      • 🟢POST users
      • 🟠PUT users
      • 🟢POST users/password
      • 🟡PATCH users/enable
      • 🟡PATCH users/disable
      • 🔴DELETE users
    • Results
      • 🔵GET results
      • 🔵GET results/group
    • Groups
      • 🔵GET groups
      • 🟢POST groups/users
      • 🔴DELETE groups/users
    • 🔵GET courses
    • 🔵GET filters
    • 🟢POST login
    • â›”Standard Error Format
  • Webhook Reference
    • Standard Structure
    • Course Complete
    • Multi-Course Complete
  • OpenAPI Specification
Powered by GitBook
On this page
  • URL
  • Parameters
  • Responses
  1. API Reference
  2. Users

POST users/password

Updates the password of a user within the organisation.

Currently, this endpoint can only be used to change the password of users created with the POST users endpoint. Passwords for accounts created using other methods cannot be changed.

URL

POST https://training.tapintosafety.com.au/api/v2/users/password

Parameters

Query Parameters

Name
Type
Description

userIdentifier*

string

The identifier of the user to update. Can be the users email or Id.

* required

Body Parameters

Name
Type
Description

password

string

The new password for the user. Set to null to remove the password.

curl "https://training.tapintosafety.com.au/api/v2/users/password?userIdentifier=alicesmith@example.com" \
    -d '{"password":"ExamplePassword1"}' \
    -H "Authorization: Bearer $APIKey"   \
    -H "Content-Type: application/json"  

Responses

204 - OK

No response body.

400 - Bad Request

Error Code: INVALID_MODEL

userIdentifier has not been specified.

400 - Bad Request

Error Code: USER_NOT_FOUND

A user could not be found with the specified userIdentifier

400 - Bad Request

Error Code: INVALID_USER_TYPE

The user specified was not created with the POST users endpoint and cannot be updated here.

400 - Bad Request

Error Code: INVALID_PASSWORD

The password specified does not meet the security requirements. See details for more information.

PreviousPUT usersNextPATCH users/enable

Last updated 9 months ago

🟢