Skip to main content
PATCH
/
users
/
me
Update User
curl --request PATCH \
  --url https://api.offlineprotocol.com/api/v1/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "walletAddress": "<string>",
  "farcasterId": "<string>",
  "coinbaseWallet": "<string>",
  "worldId": "<string>"
}'
{
  "data": {
    "user": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "jsmith@example.com",
      "username": "<string>",
      "walletAddress": "<string>",
      "farcasterId": "<string>",
      "coinbaseWallet": "<string>",
      "worldId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string
walletAddress
string
farcasterId
string
coinbaseWallet
string
worldId
string

Response

200 - application/json

Success

data
object
I