Skip to main content
POST
Edit XP Goal

Body

application/json
jwtToken
string
required

Identifies the user who is editing their XP goal.

goalID
string
required

A unique identifier or key associated with the XP goal being edited.

Example:

"55335192866017507647804408894345572659406282731228567391554804537877046919111"

newEndDate
string
required

The new end date for the XP goal, formatted as dd/mm/yyyy.

Example:

"15/07/2024"

newTitle
string
required

The new title assigned to the XP goal.

Example:

"Updated Title for XP Goal"

newGoalXP
string
required

The new desired amount of experience points (XP) the user intends to achieve with this goal.

Example:

"80"

Response

OK.

success
string

Provides additional information confirming that the request was successful.

Example:

"Goal updated successfully"