Grant a badge to an account
POST/badge/setForAccount/:accountId/:badgeId/:level
Grant a badge to an account
Request
Path Parameters
level schemaIdrequired
The new level of the badge
accountId accountIdrequired
The accountId to grant the badge to
badgeId badgeIdrequired
The badgeId to grant to the account
Responses
- 200
- 401
- 404
- default
Success
- application/json
- Schema
Schema
string
Possible values: [OK
]
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...