Admin
Upgrade user role (Admin only)
post/admin/upgrade-role
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/admin/upgrade-role
- Auth: HTTP bearer
Request body
Response
Role upgraded successfully
Changes
- breaking
removed the media type
*/*from the request body - warning
deleted the
headerrequest parameterAuthorization - warning
deleted the
headerrequest parameterContent-Type - info
the endpoint scheme security
bearerAuthwas added to the API - info
added the media type
application/jsonto the request body - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking