PATCH
/
community
/
{id}
/
badge
/
{badgeId}
/
attribution

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

Query Parameters

key
string
required

Metadata key to find the badge attribution by

value
string
required

Metadata value to find the badge attribution by

conditionKey
string

Optional condition key used to prevent invalid metadata updates

condition
enum<string>

Optional condition used to determine the comparison of the new metadata value to the current value

Available options:
gt,
lt

Body

application/json
metadata
object

Metadata to be included in the badge attribution

Response

200 - application/json
badgeId
string
required
chainId
number
required
claimedAt
string
required
contract
string
required
earnedAt
string
required
id
string
required
metadata
object
required
metadata.[key]
object
required
tokenId
string
required
transactionHash
string
required