Skip to main content
PATCH
/
api
/
v1
/
dapp
/
users
/
primary-nft
cURL
curl --request PATCH \
  --url https://api.drgreennft.com/api/v1/api/v1/dapp/users/primary-nft \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tokenId": 123
}'
{
  "statusCode": 400,
  "message": "Validation failed",
  "data": [
    "email must be a valid email",
    "phoneNumber should not be empty"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.dr.green/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Used by the DAPP UI after wallet sign-in via POST /auth/dapp/signIn. External store integrations should use apiKey + apiSignature instead.

Body

application/json
tokenId
number
required

Response