Reference / Lifecycle

Patch a user's profile (shallow-merge an object into `users.profile`).

PATCH /v1/users/{id}/profile
Secret API key operationId: patch_profile

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Path parameters

  • id string<uuid> required

    User id

Request body · required

any

Responses

200 Profile patched
{
  "data": {},
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
404 No such user
422 Patch must be an object

Request

curl -X PATCH "http://localhost:8080/v1/users/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/profile" \
  -H "Content-Type: application/json" \
  -d '{}'

Try it

live request
PATCH http://localhost:8080/v1/users/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/profile

Path parameters

Request body

application/json