Update a Profile
Use this endpoint to modify the attributes of a profile identified by its id. This is used for a wide range of actions, such as editing personal information (name, username), updating profile or cover pictures, modifying contact details (emails, social media), or adjusting billing plans and credit balances.
The request body accepts a JSON object containing the fields to be updated. The response returns the fully updated profile object.
X-API-Key<token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/profils/string" \ -H "Content-Type: application/json" \ -d '{}'{ "type": "success", "code": "string", "status": 0, "message": "string", "data": { "id": "string", "username": "string", "firstName": "string", "lastName": "string", "fullName": "string", "profilPicture": { "Key": "string", "Bucket": "string", "Location": "string", "public": "string" }, "coverPicture": { "Key": "string", "Bucket": "string", "Location": "string", "public": "string" }, "profilType": "user", "authId": "string", "contacts": { "tels": [ "string" ], "emails": [ "string" ], "message": "string", "position": { "name": "string", "location": { "type": "Point", "coordinates": [ 0, 0 ] } }, "socialMedia": { "facebook": "string", "twitter": "string", "linkedin": "string", "instagram": "string", "tiktok": "string" }, "externalAccounts": [ { "provider": "string", "accountId": "string", "payload": {} } ] }, "billingPlan": {}, "planBenefices": { "maxSimultaneousSearch": 0, "maxContactsPerSearch": 0 }, "credit": 0, "balance": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "profilNumber": "string" }}