Login | Sign Up
  • FA
  • EN

API Docs

PUT /api/v1/users/{user-id}/championships/{championship-id}

Update a championship record for a user.


Permissions

PermissionDescription
championships.updateUpdate your own championships
championships.update_anyUpdate championships for any user

Request Body Parameters

NameTypeRequiredDescription
titlestringNoTitle of the championship (max 255)
descriptionstringNoOptional description (max 2000)
datestringNoDate of the championship (date)

All parameters are optional. If omitted, they will not be updated.


Response

200 OK

{ /* championship resource */ }

Error Responses

StatusDescriptionReference
422Validation errorValidation error
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub