- Returning.AI
- Auth
- User
- Server
- Category
- Role
- Channel
- Language Setting
- Leaderboard
- Badge
- Gamification
- Api Token
- Custom Userfields
- Integration
update tier
Developing
PUT
/gamifications/{serverId}/update-tier/{tierId}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
serverId
string
required
Example:
{{serverId}}
tierId
string
required
Example:
21ca7676-558b-4063-9ab5-4820bf527405
Body Params multipart/form-data
name
string
optional
Example:
Major Tier
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://api.returning.ai/api/v1/gamifications//update-tier/21ca7676-558b-4063-9ab5-4820bf527405' \
--form 'name="Major Tier"'
Responses
🟢200Success
application/json
Body
meta
object
required
success
boolean
required
message
string
required
devMessage
string
required
body
object
required
id
string
required
name
string
required
levels
null
required
image
string
required
Example
{
"meta": {
"success": true,
"message": "Tier has been updated successfully",
"devMessage": "Tier has been updated successfully"
},
"body": {
"id": "4a20042f-1dd1-41c5-898c-934a03e5fb7d",
"name": "Major Tier",
"levels": null,
"image": "https://chartsnapshot.s3.amazonaws.com/apireturningai/tester/1721928473796-1088b0a1d76b6acb8e744f5d1108255.png"
}
}
Modified at 2024-07-30 06:11:59