curl --request PATCH \
--url https://api.paygentic.io/v0/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"phone": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
},
"type": "COMPANY",
"dateOfBirth": "2023-12-25"
}'
{
"id": "<string>",
"object": "user",
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"oryId": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
},
"phone": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organization": "<string>",
"type": "COMPANY",
"dateOfBirth": "2023-12-25"
}
curl --request PATCH \
--url https://api.paygentic.io/v0/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"phone": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
},
"type": "COMPANY",
"dateOfBirth": "2023-12-25"
}'
{
"id": "<string>",
"object": "user",
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"oryId": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
},
"phone": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organization": "<string>",
"type": "COMPANY",
"dateOfBirth": "2023-12-25"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for a user
User updated successfully
The response is of type object
.