Ziwako Docs
Ziwako MessageRéférence APIProfils

Update Profil

PUT
/profils/{id}

Updates an existing profile by ID

Authorization

apikey-header-authorization
authorization<token>

In: header

Path Parameters

id*string

68bc1b9b474e5464b8ce290c

Header Parameters

Content-Type?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Payload for updating an existing profile

Response Body

application/json

curl -X PUT "https://example.com/profils/string" \  -H "Content-Type: application/json" \  -H "Content-Type: application/json" \  -d '{}'
{  "type": "string",  "code": "string",  "status": 0,  "message": "string",  "data": {    "id": "string",    "username": "string",    "displayName": "string",    "picture": "string",    "profilType": "user",    "contacts": {      "tels": [        "string"      ],      "emails": [        "user@example.com"      ],      "position": {        "name": "string",        "location": {          "type": "Point",          "coordinates": [            0,            0          ]        }      },      "socialMedia": {        "facebook": "string",        "twitter": "string",        "linkedin": "string",        "instagram": "string",        "youtube": "string",        "tiktok": "string",        "discord": "string",        "telegram": "string"      },      "website": "http://example.com",      "address": {        "street": "string",        "city": "string",        "state": "string",        "country": "string",        "postalCode": "string"      },      "timezone": "string",      "language": "string"    },    "externalId": "string",    "externalProvider": "string",    "authId": "string",    "apiKey": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}