Skip to main content
DELETE
Unassign a badge

Authorizations

Authorization
string
header
default:Token token=<api-key>
required

API authentication using your community API secret. The value below is sent as the Authorization header verbatim, so paste the whole header value including the prefix: Token token=

Path Parameters

badge_id
string
required

The badge id, or the third-party reference of its call to action

Body

application/json

The record to remove the badge from

id
integer

The id of the record the badge is assigned to

Example:

1

type
string

The type of the record the badge is assigned to

Example:

"Content"

user_email
string<email>

Removes the badge from the user with this email address. Use instead of id and type

Example:

"jane@example.com"

Response

The badge was removed from the record

message
string
required
Example:

"Badge #1 unassigned from Post #2"