Profile
Creates or updates a badge
Calling this operation will create or update a badge for the site (scope) present in the authentication token. The payload in this request requires a label that acts as the key for the created badge. If the label already exists, the remaining badge information will be updated, otherwise a new badge will be created. Badges must exist before being assigned to users.
put/profile/badge
Request
- Base URLhttps://auth.viafoura.co
- URLhttps://auth.viafoura.co/profile/badge
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://auth.viafoura.io/authorize_client
Request body
Example request
{
"label": "subscriber",
"description": "Users with active subscriptions."
}Response
The badge has been created or updated.
Changes
No recorded changes to this operation across all 1 revision of this API.