Update Profile Status
PATCH/api/v2/instance/:instanceId/whatsapp/update/profile-status
Update Profile Status
Request
Path Parameters
instanceId stringrequired
ID of the instance.
- application/json
Body
required
profileStatus Profile Statusrequired
Responses
- 200
- 400
- 401
- 500
ResponseProfileStatus
- application/json
- Schema
- Example (from schema)
Schema
profileStatus stringrequired
WhatsApp object
whatsappId stringrequired
remoteJid stringrequired
pictureUrl stringrequired
pushName stringrequired
createdAt stringrequired
instanceInstanceId stringrequired
{
"profileStatus": "string",
"WhatsApp": {
"whatsappId": "string",
"remoteJid": "string",
"pictureUrl": "string",
"pushName": "string",
"createdAt": "string",
"instanceInstanceId": "string"
}
}
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
InternalServerErrorException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...