PATCH
/
v0
/
users
/
{userId}
/
update
curl --request PATCH \
  --url https://api.fungies.io/v0/users/{userId}/update \
  --header 'Content-Type: application/json' \
  --header 'x-fngs-public-key: <api-key>' \
  --header 'x-fngs-secret-key: <api-key>' \
  --data '{
  "email": "jsmith@example.com",
  "username": "<string>"
}'
{
  "status": "<string>",
  "data": {
    "user": {
      "object": "user",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": null,
      "username": null,
      "details": null,
      "internalId": null
    }
  }
}

Authorizations

x-fngs-public-key
string
header
required
x-fngs-secret-key
string
header
required

Path Parameters

userId
string
required

PATCH /v0/users/:userId/update Parameter

Body

application/json
PATCH /v0/users/:userId/update Request body
email
string
username
string | null

Response

200
application/json
PATCH /v0/users/:userId/update Positive response
status
string
required
Allowed value: "success"
data
object
required