> ## Documentation Index
> Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
> Use this file to discover all available pages before exploring further.

# Change password with token



## OpenAPI

````yaml /storage/api-docs/university-api-docs.json post /change-password
openapi: 3.0.0
info:
  title: MOGL University API
  description: "University / Compliance API — managing institution compliance workflows, eligibility checks, athlete disclosures, transactions, analytics, and university-related NIL operations.\r\n *\r\n * ## Authentication\r\n * - **JWT Bearer Token**: Most endpoints require a Bearer token obtained via `/compliance/login`.\r\n *\r\n * ## Base Path\r\n * All endpoints are prefixed with `/api/compliance`."
  version: 1.0.0
servers:
  - url: http://localhost/mogl/mogl-compliance-backend/api/compliance
    description: Local
  - url: https://dev-compliance-api.mogl.online/api/compliance
    description: Dev
  - url: https://staging-compliance-api.mogl.online/api/compliance
    description: Staging
  - url: https://compliance-api.mogl.online/api/compliance
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Login, registration, password management
  - name: Transactions
    description: Transaction listing, summary, top athletes/teams, export
  - name: Athletes
    description: Athlete management, job details, exports, contract downloads
  - name: Fans
    description: Fan listing
  - name: Analytics
    description: NIL analytics by sport, payment, athletes, types
  - name: College
    description: College users, settings management
  - name: Athlete Agent Disclosures
    description: Agent disclosure CRUD and document downloads
  - name: Notification Preferences
    description: User notification preference management
  - name: Filters
    description: 'Public filter data: dates, sports, gender, roles'
  - name: Colleges
    description: Public college listing
paths:
  /change-password:
    post:
      tags:
        - Authentication
      summary: Change password with token
      operationId: complianceChangePassword
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                token:
                  type: string
                password:
                  type: string
                password_confirmation:
                  type: string
              type: object
      responses:
        '200':
          description: Password changed successfully
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        JWT Bearer token authentication. Use the /api/login endpoint to obtain a
        token.
      scheme: bearer
      bearerFormat: JWT

````