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": "test@example.com",
  "password": "Password123!",
  "username": "test-user",
  "internalId": "abcd-1234-5678-90ab-cdef-1234-5678-90ab",
  "billingDetails": {
    "countryCode": "US",
    "postalCode": "94101"
  },
  "paymentData": {
    "stripeCustomerId": "cus_QzHuLRwfKfp2WX"
  }
}'
{
  "status": "<string>",
  "data": {
    "user": {
      "object": "user",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "username": null,
      "email": 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

Unique identifier of the User to archive.

Examples:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
PATCH /v0/users/:userId/update Request body

The body is of type object.

Response

200
application/json
PATCH /v0/users/:userId/update Positive response

The response is of type object.